同花顺金叉买点副图指标 源码介绍
同花顺金叉买点副图指标 源码
白线上穿趋势线买入
出现金叉买点提示买入
出现卖出提示卖出
Q2:=(CLOSE-LLV(LOW, 24))/(HHV(HIGH, 24)-LLV(LOW, 24))*100;
Q3:=SMA(Q2, 12, 1);
Q4:=SMA(Q3, 12, 1);
长趋势:3*Q3-2*Q4,colorwhite,LINETHICK2;
趋势线:EMA(Q3, 12),colorred,LINETHICK2;
DRAWTEXT(CROSS(趋势线, 长趋势) AND REF(长趋势,1)>88, REF(长趋势,12), '顶'),colorred,LINETHICK5;
逢低买: DRAWTEXT(REF(CROSS(趋势线,长趋势),88) AND 趋势线>0.04*长趋势,长趋势,''),LINETHICK1;
买: DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND 长趋势>0.04*趋势线,趋势线,''),colorred,LINETHICK1;
VAR3:=PEAKBARS(3,15,1)<10;
VAR5:=IF(VAR3=1,2,0);
顶:= IF(VAR5=2,2,0);
顶A:IF(顶>REF(顶,1),50,0),colorgreen;
DRAWTEXT(顶A=50,45,' 逃顶'),COLOR00FF00;
金叉: CROSS(长趋势,趋势线);
DRAWTEXT(金叉,趋势线,'★ 金叉买点'),colorred;
gd48360