您现在的位置:程序化交易>> 期货公式>> 文华财经>> 文华财经知识>>正文内容

指标变成反向 [文华财经]

  • 咨询内容:  能不能把我这个指标变成反向的,感谢老师!


    VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(VAR3*10,3);VAR5:=LLV(LOW,13);VAR6:=HHV(VAR4,13);VAR7:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618;VAR8:=IF(VAR7>500,500,VAR7);STICKLINE1(VAR8>-120,0,VAR8,3,1),COLORGRAY;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;//收盘价与N周期最低值做差,N周期最高值与N周期最低值做差,两差之间做比值。K:=SMA(RSV,3,1);//RSV的移动平均值D:=SMA(K,3,1);//K的移动平均值J:=3*K-2*D;STICKLINE1(VAR8>1 AND J>REF(J,1) AND REF(J,1)<REF(J,2),0,VAR8,3,0),COLORRED;STICKLINE1(VAR8>0.1 AND VAR8<1 AND J>REF(J,1) AND REF(J,1)<REF(J,2),0,VAR8,3,0),COLOR00FFFF;

     

     

     来源:程序化99

  • 文华技术人员:  
    VAR2:=REF(LOW,1); VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100; VAR4:=EMA(VAR3*10,3); VAR5:=LLV(LOW,13); VAR6:=HHV(VAR4,13); VAR7:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618; VAR8:=IF(VAR7>500,500,VAR7); STICKLINE1(VAR8>-120,0,VAR8,3,1),COLORGRAY; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1);//RSV的移动平均值 D:=SMA(K,3,1);//K的移动平均值 J:=3*K-2*D; STICKLINE1(VAR8>1 AND J>REF(J,1) AND REF(J,1)<REF(J,2),0,VAR8,3,0),COLORRED; STICKLINE1(VAR8>0.1 AND VAR8<1 AND J>REF(J,1) AND REF(J,1)<REF(J,2),0,VAR8,3,0),COLOR00FFFF; X2:=REF(H,1); X3:=SMA(ABS(H-X2),3,1)/SMA(MAX(X2-H,0),3,1)*100; X4:=EMA(X3*10,3); X5:=HHV(H,13); X6:=LLV(X4,13); X7:=EMA(IF(H>=X5,(X4+X6*2)/2,0),3)/618; X8:=IF(X7>500,500,X7); STICKLINE1(X8>-120,0,X8,3,1),COLORGRAY; STICKLINE1(X8>1 AND J<REF(J,1) AND REF(J,1)>REF(J,2),0,X8,3,0),COLORGREEN; STICKLINE1(X8>0.1 AND X8<1 AND J<REF(J,1) AND REF(J,1)>REF(J,2),0,X8,3,0),COLORFFFF00;

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容