麻烦老师改博易 [博易POBO]
咨询内容:
TMP2:=STD(CLOSE,24);
上轨:中轨+P*TMP2,DOT,LINETHICK2;
BOTTOM:中轨-P*TMP2,DOT,LINETHICK2;
IF(中轨>REF(中轨,1),中轨,NULL),LINETHICK2,COLORRED,NOTEXT;
DRAWCOLORKLINE(C>O>=REF(中轨,1),COLORMAGENTA,0),NOTEXT;
KTEXT(C>O>=REF(中轨,1),0,中轨,2,COLORRED,'注'),NOTEXT;
IF(中轨<REF(中轨,1),中轨,NULL),LINETHICK2,COLORWHITE,NOTEXT;
IF(中轨=REF(中轨,1),中轨,NULL),LINETHICK2,COLORWHITE,NOTEXT;
IF(上轨>REF(上轨,1),上轨,NULL),DOT,LINETHICK2,COLORRED,NOTEXT;
IF(上轨<REF(上轨,1),上轨,NULL),DOT,LINETHICK2,COLORGREEN,NOTEXT;
IF(上轨=REF(上轨,1),上轨,NULL),DOT,LINETHICK2,COLORWHITE,NOTEXT;
IF(BOTTOM>REF(BOTTOM,1),BOTTOM,NULL),DOT,LINETHICK2,COLORRED,NOTEXT;
//KTEXT(BOTTOM>REF(BOTTOM,1),0,BOTTOM,2,COLORRED,''),NOTEXT;
//DRAWCOLORKLINE(BOTTOM>=REF(BOTTOM,1),COLORMAGENTA,0),NOTEXT;
IF(BOTTOM<REF(BOTTOM,1),BOTTOM,NULL),DOT,LINETHICK2,COLORGREEN,NOTEXT;
IF(BOTTOM=REF(BOTTOM,1),BOTTOM,NULL),DOT,LINETHICK2,COLORWHITE,NOTEXT;
//DRAWTEXT(MID>REF(MID,1),MID,''),NOTEXT;
//DRAWTEXT(MID<REF(MID,1),MID,''),NOTEXT;
CROSS(中轨>REF(中轨,1),0.5)||CROSS(中轨<REF(中轨,1),0.5),SOUND('A'),NOTEXT,NODRAW;
//AA:=上轨-BOTTOM;
//DRAWICON(CROSSDOWN(AA,REF(AA,1)),H,2);
DRAWTEXT(ISLASTBAR&&中轨>REF(中轨,1),中轨,' 中轨↑'),FONTSIZE60,VALIGN1,COLORRED;
DRAWTEXT(ISLASTBAR&&中轨<REF(中轨,1),中轨,' 中轨↓'),FONTSIZE60,VALIGN1,COLORGREEN;
DRAWTEXT(ISLASTBAR&&上轨>REF(上轨,1),上轨,' 上轨↑'),FONTSIZE60,VALIGN1,COLORRED;
DRAWTEXT(ISLASTBAR&&上轨<REF(上轨,1),上轨,' 上轨↓'),FONTSIZE60,VALIGN1,COLORGREEN;
DRAWTEXT(ISLASTBAR&&BOTTOM>REF(BOTTOM,1),BOTTOM,' BOTTOM↑'),FONTSIZE60,VALIGN1,COLORRED;
DRAWTEXT(ISLASTBAR&&BOTTOM<REF(BOTTOM,1),BOTTOM,' BOTTOM↓'),FONTSIZE60,VALIGN1,COLORGREEN;
中轨:MA(CLOSE,24),LINETHICK2;
TMP2:=STD(CLOSE,24);
上轨:中轨+P*TMP2,POINTDOT,LINETHICK2;
BOTTOM:中轨-P*TMP2,POINTDOT,LINETHICK2;
IF(中轨>REF(中轨,1),中轨,DRAWNULL),LINETHICK2,COLORRED,NODRAW;
DRAWKLINEEX(C>O>=REF(中轨,1),H,O,L,C),COLORMAGENTA;
IF(中轨<REF(中轨,1),中轨,DRAWNULL),LINETHICK2,COLORWHITE;
IF(中轨=REF(中轨,1),中轨,DRAWNULL),LINETHICK2,COLORWHITE;
IF(上轨>REF(上轨,1),上轨,DRAWNULL),POINTDOT,LINETHICK2,COLORRED;
IF(上轨<REF(上轨,1),上轨,DRAWNULL),POINTDOT,LINETHICK2,COLORGREEN;
IF(上轨=REF(上轨,1),上轨,DRAWNULL),POINTDOT,LINETHICK2,COLORWHITE;
IF(BOTTOM>REF(BOTTOM,1),BOTTOM,DRAWNULL),POINTDOT,LINETHICK2,COLORRED;
//KTEXT(BOTTOM>REF(BOTTOM,1),0,BOTTOM,2,COLORRED,''),NOTEXT;
//DRAWCOLORKLINE(BOTTOM>=REF(BOTTOM,1),COLORMAGENTA,0),NOTEXT;
IF(BOTTOM<REF(BOTTOM,1),BOTTOM,DRAWNULL),POINTDOT,LINETHICK2,COLORGREEN;
IF(BOTTOM=REF(BOTTOM,1),BOTTOM,DRAWNULL),POINTDOT,LINETHICK2,COLORWHITE;
//DRAWTEXT(MID>REF(MID,1),MID,''),NOTEXT;
//DRAWTEXT(MID<REF(MID,1),MID,''),NOTEXT;
DRAWICON(CROSS(中轨>REF(中轨,1),0.5)||CROSS(中轨<REF(中轨,1),0.5),L,1);
//AA:=上轨-BOTTOM;
//DRAWICON(CROSSDOWN(AA,REF(AA,1)),H,2);
DRAWTEXT(ISLASTBAR&&中轨>REF(中轨,1),中轨,' 中轨↑'),FONTSIZE20,VALIGN1,COLORRED;
DRAWTEXT(ISLASTBAR&&中轨<REF(中轨,1),中轨,' 中轨↓'),FONTSIZE20,VALIGN1,COLORGREEN;
DRAWTEXT(ISLASTBAR&&上轨>REF(上轨,1),上轨,' 上轨↑'),FONTSIZE20,VALIGN1,COLORRED;
DRAWTEXT(ISLASTBAR&&上轨<REF(上轨,1),上轨,' 上轨↓'),FONTSIZE20,VALIGN1,COLORGREEN;
DRAWTEXT(ISLASTBAR&&BOTTOM>REF(BOTTOM,1),BOTTOM,' BOTTOM↑'),FONTSIZE20,VALIGN1,COLORRED;
DRAWTEXT(ISLASTBAR&&BOTTOM<REF(BOTTOM,1),BOTTOM,' BOTTOM↓'),FONTSIZE20,VALIGN1,COLORGREEN; 来源 程序化久久网
麻烦老师改博易
中轨:MA(CLOSE,24),LINETHICK2;TMP2:=STD(CLOSE,24);
上轨:中轨+P*TMP2,DOT,LINETHICK2;
BOTTOM:中轨-P*TMP2,DOT,LINETHICK2;
IF(中轨>REF(中轨,1),中轨,NULL),LINETHICK2,COLORRED,NOTEXT;
DRAWCOLORKLINE(C>O>=REF(中轨,1),COLORMAGENTA,0),NOTEXT;
KTEXT(C>O>=REF(中轨,1),0,中轨,2,COLORRED,'注'),NOTEXT;
IF(中轨<REF(中轨,1),中轨,NULL),LINETHICK2,COLORWHITE,NOTEXT;
IF(中轨=REF(中轨,1),中轨,NULL),LINETHICK2,COLORWHITE,NOTEXT;
IF(上轨>REF(上轨,1),上轨,NULL),DOT,LINETHICK2,COLORRED,NOTEXT;
IF(上轨<REF(上轨,1),上轨,NULL),DOT,LINETHICK2,COLORGREEN,NOTEXT;
IF(上轨=REF(上轨,1),上轨,NULL),DOT,LINETHICK2,COLORWHITE,NOTEXT;
IF(BOTTOM>REF(BOTTOM,1),BOTTOM,NULL),DOT,LINETHICK2,COLORRED,NOTEXT;
//KTEXT(BOTTOM>REF(BOTTOM,1),0,BOTTOM,2,COLORRED,''),NOTEXT;
//DRAWCOLORKLINE(BOTTOM>=REF(BOTTOM,1),COLORMAGENTA,0),NOTEXT;
IF(BOTTOM<REF(BOTTOM,1),BOTTOM,NULL),DOT,LINETHICK2,COLORGREEN,NOTEXT;
IF(BOTTOM=REF(BOTTOM,1),BOTTOM,NULL),DOT,LINETHICK2,COLORWHITE,NOTEXT;
//DRAWTEXT(MID>REF(MID,1),MID,''),NOTEXT;
//DRAWTEXT(MID<REF(MID,1),MID,''),NOTEXT;
CROSS(中轨>REF(中轨,1),0.5)||CROSS(中轨<REF(中轨,1),0.5),SOUND('A'),NOTEXT,NODRAW;
//AA:=上轨-BOTTOM;
//DRAWICON(CROSSDOWN(AA,REF(AA,1)),H,2);
DRAWTEXT(ISLASTBAR&&中轨>REF(中轨,1),中轨,' 中轨↑'),FONTSIZE60,VALIGN1,COLORRED;
DRAWTEXT(ISLASTBAR&&中轨<REF(中轨,1),中轨,' 中轨↓'),FONTSIZE60,VALIGN1,COLORGREEN;
DRAWTEXT(ISLASTBAR&&上轨>REF(上轨,1),上轨,' 上轨↑'),FONTSIZE60,VALIGN1,COLORRED;
DRAWTEXT(ISLASTBAR&&上轨<REF(上轨,1),上轨,' 上轨↓'),FONTSIZE60,VALIGN1,COLORGREEN;
DRAWTEXT(ISLASTBAR&&BOTTOM>REF(BOTTOM,1),BOTTOM,' BOTTOM↑'),FONTSIZE60,VALIGN1,COLORRED;
DRAWTEXT(ISLASTBAR&&BOTTOM<REF(BOTTOM,1),BOTTOM,' BOTTOM↓'),FONTSIZE60,VALIGN1,COLORGREEN;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: P:=2;中轨:MA(CLOSE,24),LINETHICK2;
TMP2:=STD(CLOSE,24);
上轨:中轨+P*TMP2,POINTDOT,LINETHICK2;
BOTTOM:中轨-P*TMP2,POINTDOT,LINETHICK2;
IF(中轨>REF(中轨,1),中轨,DRAWNULL),LINETHICK2,COLORRED,NODRAW;
DRAWKLINEEX(C>O>=REF(中轨,1),H,O,L,C),COLORMAGENTA;
IF(中轨<REF(中轨,1),中轨,DRAWNULL),LINETHICK2,COLORWHITE;
IF(中轨=REF(中轨,1),中轨,DRAWNULL),LINETHICK2,COLORWHITE;
IF(上轨>REF(上轨,1),上轨,DRAWNULL),POINTDOT,LINETHICK2,COLORRED;
IF(上轨<REF(上轨,1),上轨,DRAWNULL),POINTDOT,LINETHICK2,COLORGREEN;
IF(上轨=REF(上轨,1),上轨,DRAWNULL),POINTDOT,LINETHICK2,COLORWHITE;
IF(BOTTOM>REF(BOTTOM,1),BOTTOM,DRAWNULL),POINTDOT,LINETHICK2,COLORRED;
//KTEXT(BOTTOM>REF(BOTTOM,1),0,BOTTOM,2,COLORRED,''),NOTEXT;
//DRAWCOLORKLINE(BOTTOM>=REF(BOTTOM,1),COLORMAGENTA,0),NOTEXT;
IF(BOTTOM<REF(BOTTOM,1),BOTTOM,DRAWNULL),POINTDOT,LINETHICK2,COLORGREEN;
IF(BOTTOM=REF(BOTTOM,1),BOTTOM,DRAWNULL),POINTDOT,LINETHICK2,COLORWHITE;
//DRAWTEXT(MID>REF(MID,1),MID,''),NOTEXT;
//DRAWTEXT(MID<REF(MID,1),MID,''),NOTEXT;
DRAWICON(CROSS(中轨>REF(中轨,1),0.5)||CROSS(中轨<REF(中轨,1),0.5),L,1);
//AA:=上轨-BOTTOM;
//DRAWICON(CROSSDOWN(AA,REF(AA,1)),H,2);
DRAWTEXT(ISLASTBAR&&中轨>REF(中轨,1),中轨,' 中轨↑'),FONTSIZE20,VALIGN1,COLORRED;
DRAWTEXT(ISLASTBAR&&中轨<REF(中轨,1),中轨,' 中轨↓'),FONTSIZE20,VALIGN1,COLORGREEN;
DRAWTEXT(ISLASTBAR&&上轨>REF(上轨,1),上轨,' 上轨↑'),FONTSIZE20,VALIGN1,COLORRED;
DRAWTEXT(ISLASTBAR&&上轨<REF(上轨,1),上轨,' 上轨↓'),FONTSIZE20,VALIGN1,COLORGREEN;
DRAWTEXT(ISLASTBAR&&BOTTOM>REF(BOTTOM,1),BOTTOM,' BOTTOM↑'),FONTSIZE20,VALIGN1,COLORRED;
DRAWTEXT(ISLASTBAR&&BOTTOM<REF(BOTTOM,1),BOTTOM,' BOTTOM↓'),FONTSIZE20,VALIGN1,COLORGREEN; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容