指标源码解读与应用
趋势识别:通过观察EMA的交叉(X_5)以及随后的价格行为,交易者可以判断市场趋势的转变点。特别是当EMA(2)上穿EMA(10)且满足其他条件时,可能预示着市场趋势的向上转变。
特殊条件信号:当X_9条件成立时,绘制出的紫色线段(COLORMAGENTA)为交易者提供了入场或出场的潜在信号。这通常发生在市场经历了一段时间的整理后,准备开始新的趋势时。
视觉辅助线的应用:通过G系列和H系列的视觉辅助线,交易者可以更加清晰地看到市场的支撑位、阻力位以及潜在的趋势路径。这些线条不仅帮助确认市场的当前趋势,还为交易者提供了未来价格可能达到的关键水平。
【擒龙蝴蝶飞】主副选指标,某平台售价888的极品开源金钻指标
【擒龙蝴蝶飞】主副选指标,某平台售价888的极品开源金钻指标
【擒龙蝴蝶飞】主副选指标,某平台售价888的极品开源金钻指标
擒龙蝴蝶飞
指标源码:
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,3,1),COLOR00CC00; ZYG1:=NOT(NAMELIKE(1) OR NAMELIKE(2)) AND VOL>1; ZYG2:=IF(CLOSE>OPEN,CLOSE,OPEN); ZYG3:=ZYG1 AND DYNAINFO(39)>1; ZYG4:=IF(OPEN>CLOSE,CLOSE,OPEN); ZYG5:=BARSLAST(CROSS(EMA(CLOSE,2),EMA(CLOSE,10)) AND ZYG4<ZYG2 AND OPEN<CLOSE); ZYG6:=BARSLAST(CLOSE<REF(LOW,1)); ZYG7:=IF(CURRBARSCOUNT<=CONST(ZYG6+1),CONST(IF(ZYG6,ZYG6,ZYG6)),DRAWNULL); ZYG8:=IF(CURRBARSCOUNT>=CONST(ZYG5+1) AND CURRBARSCOUNT<=CONST(ZYG5+1),CONST(IF(ZYG5+1,ZYG5+1,ZYG5+1)),DRAWNULL); ZYG9:=ZYG8 AND ZYG5=0 AND ZYG7;DRAWTEXT_FIX(C>O,0.01,0.51,0,'更多精彩指标公式, 请关注微信公众号:最新金钻指标'),COLORYELLOW; STICKLINE(ZYG9,CLOSE,OPEN,3,0),COLORMAGENTA; ZYG10:=BARSLAST(ZYG8 AND ZYG5=0 AND ZYG7); ZYG11:=IF(CLOSE>REF(LOW,1) AND ZYG10>=0,ZYG5,DRAWNULL); ZYG12:=IF(CURRBARSCOUNT<=CONST(ZYG5+1),ZYG11,DRAWNULL); ZYG13:=ZYG7-ZYG6; ZYG14:=ZYG12; ZYG15:=IF(CURRBARSCOUNT<=CONST(ZYG14+1) AND CURRBARSCOUNT>=CONST(ZYG14+1),CONST(ZYG14),DRAWNULL); ZYG16:=CONST(ZYG14*2); ZYG17:=CONST(REF(ZYG2,ZYG14)); ZYG18:=CONST(HHV(HIGH,ZYG14)); ZYG19:=CONST(REF(LOW,ZYG14)); ZYG20:=CONST(LLV(CLOSE,ZYG14)); ZYG21:=IF(CURRBARSCOUNT<=CONST(ZYG16+1) AND CURRBARSCOUNT>=CONST(ZYG13),ZYG17,DRAWNULL); ZYG22:=IF(CURRBARSCOUNT<=CONST(ZYG16+1) AND CURRBARSCOUNT>=CONST(ZYG13),ZYG18,DRAWNULL); ZYG23:=IF(CURRBARSCOUNT<=CONST(ZYG16+1) AND CURRBARSCOUNT>=CONST(ZYG13),ZYG19,DRAWNULL); G31:DRAWLINE(CURRBARSCOUNT=CONST(ZYG16+1),ZYG22,CURRBARSCOUNT=CONST(ZYG14+1),ZYG21,0),DOTLINE,COLORYELLOW; G36:DRAWLINE(CURRBARSCOUNT=CONST(ZYG14+2),ZYG23,CURRBARSCOUNT=CONST(ZYG14+1),ZYG21,0),DOTLINE,COLORYELLOW; G41:DRAWLINE(CURRBARSCOUNT=CONST(ZYG16+1),ZYG22,CURRBARSCOUNT>=CONST(ZYG14+2),ZYG23,0),DOTLINE,COLORYELLOW; H31:DRAWLINE(CURRBARSCOUNT=CONST(ZYG14+1),ZYG21,CURRBARSCOUNT=CONST(ZYG13+1),ZYG22,0),DOTLINE,COLORYELLOW; H36:DRAWLINE(CURRBARSCOUNT=CONST(ZYG14+1),ZYG21,CURRBARSCOUNT=CONST(ZYG14),ZYG23,0),DOTLINE,COLORYELLOW; H41:DRAWLINE(CURRBARSCOUNT=CONST(ZYG14),ZYG23,CURRBARSCOUNT=CONST(ZYG13+1),ZYG22,0),DOTLINE,COLORYELLOW;
第二部分 选股公式: ZYG1:=NOT(NAMELIKE(1) OR NAMELIKE(2)) AND VOL>1; ZYG2:=IF(CLOSE>OPEN,CLOSE,OPEN); ZYG3:=ZYG1 AND DYNAINFO(39)>1; ZYG4:=IF(OPEN>CLOSE,CLOSE,OPEN); ZYG5:=BARSLAST(CROSS(EMA(CLOSE,2),EMA(CLOSE,10)) AND ZYG4<ZYG2 AND OPEN<CLOSE); ZYG6:=BARSLAST(CLOSE<REF(LOW,1)); ZYG7:=IF(CURRBARSCOUNT<=CONST(ZYG6+1),CONST(IF(ZYG6,ZYG6,ZYG6)),DRAWNULL); ZYG8:=IF(CURRBARSCOUNT>=CONST(ZYG5+1) AND CURRBARSCOUNT<=CONST(ZYG5+1),CONST(IF(ZYG5+1,ZYG5+1,ZYG5+1)),DRAWNULL); ZYG9:ZYG8 AND ZYG5=0 AND ZYG7;
|