请老师帮助修改 [博易POBO]
咨询内容:
LL:=L<=LV(LOW,20)&&L<=REFX(LLV(L,20),20);
AA:=BACKSET(ISLASTBAR,BARSLAST(HIGH>HV(HIGH,20))+1);
DRAWSL(CROSS(AA,0.5)&&HIGH>HV(HIGH,5),HIGH,0,40,0,COLORWHITE),LINETHICK5;
BB:=BACKSET(ISLASTBAR,BARSLAST(LOW<LV(LOW,20))+1);
DRAWSL(CROSS(BB,0.5)&&LOW<LV(LOW,5),LOW,0,40,0,COLORWHITE),LINETHICK5;
A:=IF(HH||CROSS(AA,0.5),H,L);
DRAWSL1(REFX(HH||LL||CROSS(AA,0.5)||CROSS(BB,0.5),1)||ISLASTBAR,VALUEWHEN(HH||LL||CROSS(AA,0.5)||CROSS(BB,0.5),A),0,BARSLAST(HH||LL||CROSS(AA,0.5)||CROSS(BB,0.5))+1,1),COLORWHITE,LINETHICK5;
B:=IF(LL||CROSS(BB,0.5),H,L);
//DRAWSL1(REFX(LL||HH||CROSS(AA,0.5)||CROSS(BB,0.5),1)||ISLASTBAR,VALUEWHEN(LL||HH||CROSS(AA,0.5)||CROSS(BB,0.5),B),0,BARSLAST(LL||HH||CROSS(AA,0.5)||CROSS(BB,0.5))+1,1),COLORBLUE,LINETHICK4;
DRAWCOLORKLINE(BARSLAST(HH||CROSS(AA,0.5))<BARSLAST(LL||CROSS(BB,0.5)),COLORCYAN,0);
DRAWCOLORKLINE(BARSLAST(HH||CROSS(AA,0.5))>BARSLAST(LL||CROSS(BB,0.5)),COLORRED,0);
来源 程序化久久网
请老师帮助修改
HH:=H>=HV(HIGH,20)&&H>=REFX(HHV(H,20),20);LL:=L<=LV(LOW,20)&&L<=REFX(LLV(L,20),20);
AA:=BACKSET(ISLASTBAR,BARSLAST(HIGH>HV(HIGH,20))+1);
DRAWSL(CROSS(AA,0.5)&&HIGH>HV(HIGH,5),HIGH,0,40,0,COLORWHITE),LINETHICK5;
BB:=BACKSET(ISLASTBAR,BARSLAST(LOW<LV(LOW,20))+1);
DRAWSL(CROSS(BB,0.5)&&LOW<LV(LOW,5),LOW,0,40,0,COLORWHITE),LINETHICK5;
A:=IF(HH||CROSS(AA,0.5),H,L);
DRAWSL1(REFX(HH||LL||CROSS(AA,0.5)||CROSS(BB,0.5),1)||ISLASTBAR,VALUEWHEN(HH||LL||CROSS(AA,0.5)||CROSS(BB,0.5),A),0,BARSLAST(HH||LL||CROSS(AA,0.5)||CROSS(BB,0.5))+1,1),COLORWHITE,LINETHICK5;
B:=IF(LL||CROSS(BB,0.5),H,L);
//DRAWSL1(REFX(LL||HH||CROSS(AA,0.5)||CROSS(BB,0.5),1)||ISLASTBAR,VALUEWHEN(LL||HH||CROSS(AA,0.5)||CROSS(BB,0.5),B),0,BARSLAST(LL||HH||CROSS(AA,0.5)||CROSS(BB,0.5))+1,1),COLORBLUE,LINETHICK4;
DRAWCOLORKLINE(BARSLAST(HH||CROSS(AA,0.5))<BARSLAST(LL||CROSS(BB,0.5)),COLORCYAN,0);
DRAWCOLORKLINE(BARSLAST(HH||CROSS(AA,0.5))>BARSLAST(LL||CROSS(BB,0.5)),COLORRED,0);
来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容