改写下面指标到文华。 [文华财经]
-
咨询内容:
持仓:IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLORRED;空仓:IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLORGREEN ;获利%:WINNER(CLOSE)*100,NODRAW,COLORWHITE;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);支撑:REFDATE(V2,DATE),POINTDOT,LINETHICK4,COLORCC66FF;阻力:REFDATE(V3,DATE),POINTDOT,LINETHICK4,COLORFF0033;{WWW.GUPANG.COM 股旁网_通达信股票指标公式}DRAWKLINE(H,O,L,C);涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0);STICKLINE(涨停,OPEN,CLOSE,2,0),COLORMAGENTA;STICKLINE(涨停,H,L,0,0),COLORMAGENTA;跌停:=IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0);STICKLINE(跌停,OPEN,CLOSE,2,0),COLORBLUE;STICKLINE(跌停,H,L,0,1),COLORBLUE;
谢谢!来源:程序化99
-
文华技术人员:
请参考
STEP1:=2/100; MVALUE1:=20/100; SARLINE:=SAR(4,STEP1,MVALUE1),CIRCLEDOT;
持仓:IF(CLOSE>=ABS(SARLINE),ABS(SARLINE),NULL),CIRCLEDOT,COLORRED; 空仓:IF(CLOSE<=ABS(SARLINE),ABS(SARLINE),NULL),CIRCLEDOT,COLORGREEN ;
获利%:WINNER(CLOSE)*100,NODRAW,COLORWHITE; V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); V2:=(1-7/100)*(DMA(CLOSE,V1)); V3:=(1+7/100)*(DMA(CLOSE,V1)); V5:=MA((LOW+HIGH+CLOSE)/3,5); 支撑:REFX1(V2,10000),POINTDOT,LINETHICK4,COLORCC66FF; 阻力:REFX1(V3,10000),POINTDOT,LINETHICK4,COLORFF0033;
DRAWKLINE1(H,O,L,C); 涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0); STICKLINE(涨停,OPEN,CLOSE,2,0),COLORMAGENTA; STICKLINE(涨停,H,L,0,0),COLORMAGENTA; 跌停:=IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0); STICKLINE(跌停,OPEN,CLOSE,2,0),COLORBLUE; STICKLINE(跌停,H,L,0,1),COLORBLUE;
来源: WWW.CXH99.COM
-
文华客服:
这个指标只能日线上用。能否修改参数,各个周期都能用呀?
请帮忙修改到各个周期都能用。
谢谢老师! -
网友回复:
指标中的winner函数需要在股票日线上加载的,帮您删除掉
剩余部分没有周期限制
请参考
STEP1:=2/100;MVALUE1:=20/100;SARLINE:=SAR(4,STEP1,MVALUE1),CIRCLEDOT;
持仓:IF(CLOSE>=ABS(SARLINE),ABS(SARLINE),NULL),CIRCLEDOT,COLORRED;空仓:IF(CLOSE<=ABS(SARLINE),ABS(SARLINE),NULL),CIRCLEDOT,COLORGREEN ;
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);支撑:REFX1(V2,10000),POINTDOT,LINETHICK4,COLORCC66FF;阻力:REFX1(V3,10000),POINTDOT,LINETHICK4,COLORFF0033;
DRAWKLINE1(H,O,L,C);涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0);STICKLINE(涨停,OPEN,CLOSE,2,0),COLORMAGENTA;STICKLINE(涨停,H,L,0,0),COLORMAGENTA;跌停:=IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0);STICKLINE(跌停,OPEN,CLOSE,2,0),COLORBLUE;STICKLINE(跌停,H,L,0,1),COLORBLUE;
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容