麻烦老师改下 [博易POBO]
咨询内容:
LL:=LLV(LOW,3);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
LC := REF(CLOSE,1);//前一周期收盘价
RSI:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
空头:IF((HH1 > LL1),HH,NULL),LINETHICK2,COLORGREEN;
多头:IF((HH1 < LL1),LL,NULL),LINETHICK2,COLORRED;
STICKLINE1(LL1>=HH1,LOW,HIGH,0,1),COLORRED;
STICKLINE1(LL1>=HH1,CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE1(LL1<HH1,LOW,HIGH,0,1),COLORGREEN;
STICKLINE1(LL1<HH1,CLOSE,OPEN,3.2,2),COLORGREEN;
STICKLINE1(CROSS(HH1,LL1),OPEN,CLOSE,3.2,0),COLORGREEN;
STICKLINE1(CROSS(LL1,HH1),OPEN,CLOSE,3.2,0),COLORRED;
STICKLINE1((CLOSE>OPEN) AND (LL1<HH1),CLOSE,OPEN,3.2,2),COLORGREEN;
STICKLINE1((CLOSE>OPEN) AND (LL1>=HH1),CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE1((CLOSE<OPEN) AND (LL1<HH1),CLOSE,OPEN,3.2,0),COLORGREEN;
STICKLINE1((CLOSE<OPEN) AND (LL1>=HH1),CLOSE,OPEN,3.2,0),COLORRED;
DRAWTEXT(CROSS(HH1,LL1),HH,'空'),COLOR00FF00;
DRAWTEXT(CROSS(LL1,HH1),LL,'多'),COLOR0000FF;
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF;
LL:=LLV(LOW,3);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
LC := REF(CLOSE,1);//前一周期收盘价
RSI:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
空头:IF((HH1 > LL1),HH,DRAWNULL),LINETHICK2,COLORGREEN;
多头:IF((HH1 < LL1),LL,DRAWNULL),LINETHICK2,COLORRED;
STICKLINE(LL1>=HH1,LOW,HIGH,0,1),COLORRED;
STICKLINE(LL1>=HH1,CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE(LL1<HH1,LOW,HIGH,0,1),COLORGREEN;
STICKLINE(LL1<HH1,CLOSE,OPEN,3.2,2),COLORGREEN;
STICKLINE(CROSS(HH1,LL1),OPEN,CLOSE,3.2,0),COLORGREEN;
STICKLINE(CROSS(LL1,HH1),OPEN,CLOSE,3.2,0),COLORRED;
STICKLINE((CLOSE>OPEN) AND (LL1<HH1),CLOSE,OPEN,3.2,2),COLORGREEN;
STICKLINE((CLOSE>OPEN) AND (LL1>=HH1),CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE((CLOSE<OPEN) AND (LL1<HH1),CLOSE,OPEN,3.2,0),COLORGREEN;
STICKLINE((CLOSE<OPEN) AND (LL1>=HH1),CLOSE,OPEN,3.2,0),COLORRED;
DRAWTEXT(CROSS(HH1,LL1),HH,'空'),COLOR00FF00;
DRAWTEXT(CROSS(LL1,HH1),LL,'多'),COLOR0000FF;
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF; 这个指标改为博易后在短时间周期内,15分钟30分钟k线图压缩成一条线,看不清楚 来源 程序化久久网
麻烦老师改下
HH:=HHV(HIGH,3);LL:=LLV(LOW,3);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
LC := REF(CLOSE,1);//前一周期收盘价
RSI:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
空头:IF((HH1 > LL1),HH,NULL),LINETHICK2,COLORGREEN;
多头:IF((HH1 < LL1),LL,NULL),LINETHICK2,COLORRED;
STICKLINE1(LL1>=HH1,LOW,HIGH,0,1),COLORRED;
STICKLINE1(LL1>=HH1,CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE1(LL1<HH1,LOW,HIGH,0,1),COLORGREEN;
STICKLINE1(LL1<HH1,CLOSE,OPEN,3.2,2),COLORGREEN;
STICKLINE1(CROSS(HH1,LL1),OPEN,CLOSE,3.2,0),COLORGREEN;
STICKLINE1(CROSS(LL1,HH1),OPEN,CLOSE,3.2,0),COLORRED;
STICKLINE1((CLOSE>OPEN) AND (LL1<HH1),CLOSE,OPEN,3.2,2),COLORGREEN;
STICKLINE1((CLOSE>OPEN) AND (LL1>=HH1),CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE1((CLOSE<OPEN) AND (LL1<HH1),CLOSE,OPEN,3.2,0),COLORGREEN;
STICKLINE1((CLOSE<OPEN) AND (LL1>=HH1),CLOSE,OPEN,3.2,0),COLORRED;
DRAWTEXT(CROSS(HH1,LL1),HH,'空'),COLOR00FF00;
DRAWTEXT(CROSS(LL1,HH1),LL,'多'),COLOR0000FF;
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: HH:=HHV(HIGH,3);LL:=LLV(LOW,3);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
LC := REF(CLOSE,1);//前一周期收盘价
RSI:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
空头:IF((HH1 > LL1),HH,DRAWNULL),LINETHICK2,COLORGREEN;
多头:IF((HH1 < LL1),LL,DRAWNULL),LINETHICK2,COLORRED;
STICKLINE(LL1>=HH1,LOW,HIGH,0,1),COLORRED;
STICKLINE(LL1>=HH1,CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE(LL1<HH1,LOW,HIGH,0,1),COLORGREEN;
STICKLINE(LL1<HH1,CLOSE,OPEN,3.2,2),COLORGREEN;
STICKLINE(CROSS(HH1,LL1),OPEN,CLOSE,3.2,0),COLORGREEN;
STICKLINE(CROSS(LL1,HH1),OPEN,CLOSE,3.2,0),COLORRED;
STICKLINE((CLOSE>OPEN) AND (LL1<HH1),CLOSE,OPEN,3.2,2),COLORGREEN;
STICKLINE((CLOSE>OPEN) AND (LL1>=HH1),CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE((CLOSE<OPEN) AND (LL1<HH1),CLOSE,OPEN,3.2,0),COLORGREEN;
STICKLINE((CLOSE<OPEN) AND (LL1>=HH1),CLOSE,OPEN,3.2,0),COLORRED;
DRAWTEXT(CROSS(HH1,LL1),HH,'空'),COLOR00FF00;
DRAWTEXT(CROSS(LL1,HH1),LL,'多'),COLOR0000FF;
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF; 这个指标改为博易后在短时间周期内,15分钟30分钟k线图压缩成一条线,看不清楚 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容