金叉买点指标 (源码)

2012-04-27 08:27:00来源:本站整理浏览:254

通达信金叉买点指标公式股票软件源码如下:

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;
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
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;

通达信金叉买点指标公式

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式