把大智慧分时指标有 ☆低 信号出现时写个预警公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

把大智慧的分时主图指标里有 ☆低 信号出现时写个预警公式谢谢。公式名称 分时主图,公式来源 大智慧里的分时指标,在此谢谢原指标的作者 见图:源码如下:DRAWTEXTabs(30,10,'● 白线上下分强弱,红绿两色见高低,可惜开盘强或弱,还是未知收盘价 ● '),COLORyellow,linethick1;DRAWTEXTabs(30,30,'● 见 ☆高 可卖,见 ☆低 可跟进, 见 ↑ 是过顶,见 ★ 要冲高 ●'),COLORffffff,linethick1;{忘了作者}MA30:EMA(CLOSE,30),linethick0;强弱:EMA(CLOSE,900),colorffffff,linethick2;STICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF;STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*7/8,COLOR00DD00;支撑:L1+P1*0.5/8,COLOR00DD00;现价:CLOSE,COLORffffff,LINETHICK1;支差:现价-支撑,linethick0;阻差:现价-阻力,linethick0;支差比:支差/MA30*100,linethick0;阻差比:阻差/MA30*100,linethick0;STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORffffff,linethick2; DRAWTEXT(LONGCROSS(支撑,现价,2),支撑,'★低'),COLORYELLOW,linethick2;DRAWTEXT(LONGCROSS(现价,阻力,2),现价*1.001,'★高'),COLORffffff,linethick2;DRAWTEXTABS(30,295,'★ 及时对比 支撑(低位) 阻力(高位)'),COLORred,linethick2;DRAWTEXTABS(30,295,' '+NUMTOSTRN(支撑,2)+' 元 '+ NUMTOSTRN(阻力,2)+' 元'),COLORffffff,linethick2;DRAWTEXTABS(30,320,' 价差: '+NUMTOSTRN(支差,2)+' 元 '+ NUMTOSTRN(阻差,2)+' 元'),COLORffffff,linethick2;DRAWTEXTABS(30,345,' 价比: '+NUMTOSTRN(支差比,2)+' % '+ NUMTOSTRN(阻差比,2)+' %'),COLORffffff,linethick2;{变色设计}PARTLINE(c,c>=REF(c,1),RGB(255,0,0),c<=REF(c,1),RGB(0,255,0)),linethick2;{一品老师的分时过顶}KP30:=TIME0<36000;KPGD:=H=HHV(H,0) AND KP30;GDSJ:=BARSLAST(KPGD);HH:REF(H,GDSJ),COLORFF00FF,POINTDOT,LINETHICK2;过顶:IF(CROSS(C,HH),1,0),COLOR00FF00,POINTDOT,LINETHICK0;冲高:IF(FILTER(CROSS(C,HH*1.01),15),1,0),COLOR00FFFF,POINTDOT,LINETHICK0;DRAWTEXT(过顶,HH,'↑'),COLORffFFff,ALIGN2;DRAWTEXT(冲高,HH,'★'),COLORffFFFF,ALIGN2;{前30分钟的股价}VERTLINE(TIME=94000,2);VERTLINE(TIME=95000,2);VERTLINE(TIME=100000,2);DRAWTEXT(TIME=94000,C,NUMTOSTR(C)),Colorffffff,LINETHICK2;DRAWTEXT(TIME=95000,C,NUMTOSTR(C)),Colorffffff,LINETHICK2;DRAWTEXT(TIME=100000,C,NUMTOSTR(C)),Colorffffff,LINETHICK2;

解答:

 MA30:=EMA(CLOSE,30);

强弱:=EMA(CLOSE,900);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
支撑:=L1+P1*0.5/8;
现价:=CLOSE;
XG:LONGCROSS(支撑,现价,2);

选股票看什么指标最好 >股票指标网