扇形信号指标展示部分源码
BL2:= BL+1.96*STDP(C,20);
DRAWICON(CROSS(H,BLS),H,2);
DRAWICON(CROSS(H,BL2),H*1.000,8);
DRAWNUMBER1(ISLASTBAR AND BL,BL*1.005,BL,2);
XGM:=CROSS(SY,BL);
DRAWICON(CROSS(C,BL) AND BL>REF(BL,1) AND DI>REF(DI,1),L,9);
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
GB:IF(RSI1>76,H*1.001,NULL),CIRCLEDOT,LINETHICK3,COLORFFFF00;
强弱信号指标展示部分源码
STICKLINE((MA30>强弱),MA30,强弱,1,0),COLORLIGHTRED;
H1:=MAX(GETPRICE('YCLOSE'),GETPRICE('HIGH'));
L1:=MIN(GETPRICE('YCLOSE'),GETPRICE('LOW'));
P1:=H1-L1;
阻力:L1+P1*7/8,COLOR00DD00,LINETHICK2;
支撑:L1+P1*0.5/8,COLORYELLOW,LINETHICK2;
现价:CLOSE,COLORWHITE,LINETHICK1;
STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;
DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'ICO1'),FONTSIZE20,COLORYELLOW;