黑马营T+0副图公式
VA1:=LLV(LOW,34);
VA2:=HHV(HIGH,30);
VA3:=REF(CLOSE,1);
VA4:=EMA((CLOSE-VA1)/(VA2-VA1),3)*100;
主力:=SMA(MAX(CLOSE-VA3,0),7,1)/SMA(ABS(CLOSE-VA3),7,1)*100,COLORRED;
散户:=VA4;
VAR5:=(VA4-LLV(VA4,21))/(HHV(VA4,21)-LLV(VA4,21))*100;
VY:=SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,5,1);
L2:=SMA(0.618*REF(VY,1)+0.382*VY,3,1), COLORFF9900;
L3:=MA(L2,5);
CCL:=MA(L2,5),LINETHICK3;
MACCL:=MA(CCL,21);
短线:MA(CLOSE,7)-MA(CLOSE,21),COLORRED,LINETHICK2;
中线:MA(短线,7),COLORGREEN,LINETHICK2;
STICKLINE(CCL>MACCL AND 短线>中线,短线,中线,2,0),COLORYELLOW;
STICKLINE(CCL<MACCL AND 短线<中线,短线,中线,2,0), COLORGREEN;
20138119101231401.png
|