给CYW指标加两条线
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

能否仿效MACD指标给CYW指标也加两条线,比如五日累和线和十日累和线源码:VAR1:=CLOSE-LOW;VAR2:=HIGH-LOW;VAR3:=CLOSE-HIGH;VAR4:=IF(HIGH>LOW,(VAR1/VAR2+VAR3/VAR2)*VOL,0);CYW: SUM(VAR4,10)/10000, COLORSTICK;

解答:

 VAR1:=CLOSE-LOW;

VAR2:=HIGH-LOW;
VAR3:=CLOSE-HIGH;
VAR4:=IF(HIGH>LOW,(VAR1/VAR2+VAR3/VAR2)*VOL,0);
CYW: SUM(VAR4,10)/10000, COLORSTICK;
C5:SUM(CYW,5);
C10:SUM(CYW,10);

选股票看什么指标最好 >股票指标网