副图公式源码支持 手机/电脑
势线线:EMA(EMA(C,10),10),COLORRED,LINETHICK3;
M:=3;降:=势线线>REF(势线线,1);
IF(降-1,势线线,DRAWNULL)COLORGREEN,LINETHICK3;
GUP1:=(100-((90*(HHV(HIGH,14)-CLOSE))/(HHV(HIGH,14)-LLV(LOW,14))));
GUP2:=(100-((90*(HHV(HIGH,14)-CLOSE))/(HHV(HIGH,14)-LLV(LOW,14))));
GUP3:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6))),34));
STICKLINE(GUP2<MA(GUP3,6),LOW,HIGH,0,1),COLORLIGREEN;
STICKLINE(GUP2>MA(GUP3,6),LOW,HIGH,0,1),COLORRED;
STICKLINE(((OPEN>CLOSE)AND(GUP2<MA(GUP3,6))),(CLOSE-0.03),OPEN,3.05,0),COLORLIGREEN;
STICKLINE(((OPEN<CLOSE)AND(GUP2<MA(GUP3,6))),CLOSE,OPEN,3.05,1),COLORLIGREEN;
STICKLINE(((OPEN>CLOSE)AND(GUP2>MA(GUP3,6))),OPEN,(CLOSE-0.03),3.05,0),COLORRED;
STICKLINE(((OPEN<CLOSE)AND(GUP2>MA(GUP3,6))),OPEN,CLOSE,3.05,1),COLORRED;
DRAWICON(CROSS(GUP2,MA(GUP3,6)),(LOW-(LOW*0.02)),1);
DRAWICON(CROSS(MA(GUP3,6),GUP1),(HIGH+(HIGH*0.02)),2);
选股公式源码
{选股公式:红箭头图标}
GUP1:=(100-((90*(HHV(HIGH,14)-CLOSE))/(HHV(HIGH,14)-LLV(LOW,14))));
GUP2:=(100-((90*(HHV(HIGH,14)-CLOSE))/(HHV(HIGH,14)-LLV(LOW,14))));
GUP3:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6))),34));
红箭头图标:CROSS(GUP2,MA(GUP3,6));
{卖出公式:绿箭头图标}
GUP1:=(100-((90*(HHV(HIGH,14)-CLOSE))/(HHV(HIGH,14)-LLV(LOW,14))));
GUP2:=(100-((90*(HHV(HIGH,14)-CLOSE))/(HHV(HIGH,14)-LLV(LOW,14))));
GUP3:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6))),34));
绿箭头图标:CROSS(MA(GUP3,6),GUP1); |