通达信金牌黑马副图公式
金牌黑码
VAR11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)
-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
黑码线:EMA(VAR11,5), LINETHICK2,COLOR6600FF;
VAR12:=(黑码线-REF(黑码线,1))/REF(黑码线,1)*100;
DRAWTEXT(REF(黑码线,1)>90 AND VAR12<0,黑码线,'跑'),
0, LINETHICK2, COLOR999999;100 ,LINETHICK2 ,COLOR999999;
黑码线2:100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)),LINETHICK2,,;
DRAWTEXT(CROSS(黑码线,黑码线2),黑码线,'黑码'),COLORYELLOW;
极品底:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,100,0),COLORWHITE;