指标优化 [文华财经]
-
咨询内容:
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
BUY1:=ZIGZAG(C,1,1);
SELL1:=MA(BUY1,2);
DRAWTEXT(CROSS(BUY1,SELL1),L-0.1,'多'),VALIGN0;
DRAWTEXT(CROSS(SELL1,BUY1),H+0.1,'空');
DRAWCOLORKLINE(BUY1>SELL1&&C>=O,COLORRED,1);DRAWCOLORKLINE(BUY1>SELL1&&C<O,COLORRED,0);DRAWCOLORKLINE(BUY1<SELL1&&C>=O,COLORGREEN,1);DRAWCOLORKLINE(BUY1<SELL1&&C<O,COLORGREEN,0);
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
LJB:=1/WINNER(CLOSE);
老师 这个指标改参数 改哪个
来源:程序化99
-
文华技术人员:
红色标记位置就是可以修改的参数
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
BUY1:=ZIGZAG(C,1,1);
SELL1:=MA(BUY1,2);
DRAWTEXT(CROSS(BUY1,SELL1),L-0.1,'',VALIGN0;
DRAWTEXT(CROSS(SELL1,BUY1),H+0.1,'';
DRAWCOLORKLINE(BUY1>SELL1&&C>=O,COLORRED,1); DRAWCOLORKLINE(BUY1>SELL1&&C<O,COLORRED,0); DRAWCOLORKLINE(BUY1<SELL1&&C>=O,COLORGREEN,1); DRAWCOLORKLINE(BUY1<SELL1&&C<O,COLORGREEN,0);
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
LJB:=1/WINNER(CLOSE);
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容