西部财神 主幅图公式
源码1
ssK:=SMA(c,3,1),linethick1;
量:=(EMA(IF(C>=REF(C,2),V,(-V)),60)/MA(V,60))+ssk;
量1:= EMA(量,3);
Q1:llV(量1,3),COLORRED;
Q11:IF(量1>Q1,量1+(量1-Q1),Q1),COLORRED;
PARTLINE(Q11<REF(Q11,1),Q11),COLORGREEN;
Q2:llV(量1,5),COLORRED;
Q22:IF(量1>Q2,量1+(量1-Q2),Q2),COLORRED;
PARTLINE(Q22<REF(Q22,1),Q22),COLORGREEN;
Q3:llV(量1,7),COLORRED;
Q33:IF(量1>Q3,量1+(量1-Q3),Q3),COLORRED;
PARTLINE(Q33<REF(Q33,1),Q33),COLORGREEN;
Q4:llV(量1,9),colorFFABA3,linethick2;
Q44:IF(量1>Q4,量1+(量1-Q4),Q4),COLORGREEN,linethick2;
PARTLINE(Q1>REF(Q1,1),Q1),COLORRED,LINETHICK2;
PARTLINE(Q1<REF(Q1,1),Q1),COLORGREEN,LINETHICK0;
PARTLINE(Q44>REF(Q44,1),Q44),COLORRED,LINETHICK2;
PARTLINE(Q4>REF(Q4,1),Q4),COLORRED,LINETHICK2;
量1:=MA(C,1);
HH:=HHV(量1,8);
LL:=LLV(量1,8);
高:VALUEWHEN(量1>=REF(HH,1),量1),color33DDEE,LINETHICK0;
低:VALUEWHEN(量1<=REF(LL,1),量1),colorff00ff,LINETHICK0;
PARTLINE(高=REF(高,1),高),color33DDEE,LINETHICK3;
PARTLINE(低=REF(低,1),低),colorff00ff,LINETHICK3;
源码2
ssK:=SMA(c,3,1),linethick1;
量:=(EMA(IF(C>=REF(C,2),V,(-V)),60)/MA(V,60))+ssk;
量1:= EMA(量,3);
FL:hhv(量1,3),COLORgreen,POINTDOT;
FS:if(量1<FL,(量1-(FL-量1)),FL),COLORgreen;
FL1:hhv(量1,5),COLORgreen,POINTDOT;
FS1:if(量1<FL1,(量1-(FL1-量1)),FL1),COLORgreen;
FL2:hhv(量1,7),COLORgreen,POINTDOT;
FS2:if(量1<FL2,(量1-(FL2-量1)),FL2),COLORgreen;
FL3:hhv(量1,9),colorFFABA3,linethick2;
FS3:if(量1<FL3,(量1-(FL3-量1)),FL3),colorFFABA3,linethick2;
PARTLINE(FS3>ref(FS3,1),FS3),colorred,LINETHICK2;
PARTLINE(FS3<ref(FS3,1),FS3)colorFFABA3,LINETHICK2;
PARTLINE(量1<REF(量1,1),量1),COLORGREEN,LINETHICK2;
PARTLINE(量1>REF(量1,1),量1)COLORRED,LINETHICK2;
STICKLINE(C>=O,C,O,9,1),COLORRED;
STICKLINE(C>=O,L,O,0.1,0),COLORRED;
STICKLINE(C>=O,C,H,0.1,0),COLORRED;
STICKLINE(C<O,C,O,9,0),COLORFFFF00;
STICKLINE(C<O,H,L,0.1,0),COLORFFFF00;
量1:=MA(C,1);
HH:=HHV(量1,8);
LL:=LLV(量1,8);
高:VALUEWHEN(量1>=REF(HH,1),量1),color33DDEE,LINETHICK0;
低:VALUEWHEN(量1<=REF(LL,1),量1),colorff00ff,LINETHICK0;
PARTLINE(高=REF(高,1),高),color33DDEE,LINETHICK3;
PARTLINE(低=REF(低,1),低),colorff00ff,LINETHICK3;