以下是大智慧版1250理论和跳马用法

ma20:ma(c,20),colorwhite,linethick2;
 ma120:ma(c,120),colorffcccc,linethick2;
 ma250:ma(c,250),colorffcc66,linethick2;
乖离线:=((c-ref(ma20,1))/20+ma20)*1.20;
 tt1:=cross(ma20,ma120) and cross(ma20,ma250) and v>ref(v,1);
 tt2:=ma20>ref(ma20,2) and v>ref(v,1) and cross(c,ma20);
 STICKLINE(TT1,l,l-0.09,4,0),coloryellow;
 DRAWTEXT(TT1,l-0.13,’金叉‘),coloryellow;
 STICKLINE(cross(c,ma120) and cross(c,ma250) and cross(c,ma20),l,l-0.09,4,0),coloryellow;
 DRAWTEXT(cross(c,ma120) and cross(c,ma250) and cross(c,ma20),l-0.13,’并线开花’),coloryellow;
 STICKLINE(tt2,l,l-0.09,4,0),coloryellow;
 DRAWTEXT(tt2,l-0.13,’买点1′),coloryellow;
 STICKLINE(cross(c,乖离线),h,h+0.09,4,0),color00ff00;
 DRAWTEXT(cross(c,乖离线) ,h+0.13,’卖点’),color00ff00;
 STICKLINE(ma250>=ref(ma250,1) and ma20>=ref(ma20,1) and cross(c,ma250),l,l-0.09,4,0),colorffcc66;
 DRAWTEXT(ma250>=ref(ma250,1) and ma20>=ref(ma20,1) and cross(c,ma250),l-0.13,’牛象’),colorffcc66;
 STICKLINE(ma120>=ref(ma120,1) and cross(c,ma20) and cross(c,ma120) and v>ref(v,1),l,l-0.09,4,0),colorff00ff;
 DRAWTEXT(ma120>=ref(ma120,1) and cross(c,ma20) and cross(c,ma120) and v>ref(v,1),l-0.13,’买点2′),colorff00ff;
 RSV:=(((CLOSE – LLV(LOW,13)) / (HHV(HIGH,13) – LLV(LOW,13))) * 100);
 K:=SMA(RSV,3,1);
 D:=SMA(K,3,1);
 J:=((3 * K) – (2 * D));
 RSV24:=(((CLOSE – LLV(LOW,55)) / (HHV(HIGH,55) – LLV(LOW,55))) * 100);
 K24:=SMA(RSV24,3,1);
 D24:=SMA(K24,3,1);
 J24:=((3 * K24) – (2 * D24));
 U2L:=IF((CLOSE >= MA(CLOSE,20)),80,50);
 L2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);
 RH1:=IF(((J < U2L) AND (REF(J,1) >= U2L)),HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) – 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) – 1)),BARSLAST(((J < U2L) AND REF(J,1)))));
 RH4:=IF((HIGH > RH1),LOW,REF(LOW,BARSLAST((HIGH > RH1))));
 RH42:=IF((HIGH > RH1),J,REF(J,BARSLAST((HIGH > RH1))));
 RH5:=IF((((HIGH > RH4) AND (J < RH42)) AND (J < J24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH4) AND (J < RH42)) AND (J < J24)))));
 DRAWTEXT(FILTER(((((((((OPEN > ma120) AND (ma20 < ma120)) AND (LOW <= ma120)) AND ((ma20 – REF(ma20,1)) > 0)) AND (CLOSE > OPEN)) AND ((ma120 – REF(ma120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE >= ma120)),15),LOW,’★120跳马’);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。