【通达信源码分享】实用价值非常高的看长做短趋势指标-脱离苦海
2022-07-10未知 编 辑:掌上指标
股票投资趋势为根本,看长做短,或者波段操作,才有可能的立足市场,我们不求买到最低点,也不求卖到最高点,只要中间鱼身那段利润,即可!切记市场是残酷的,也折射了很多人性的弱点,切勿贪婪,恐惧,盲目,任何时候做好止损,止盈,没有任何一个指标是万能不败的,只要你悟性好,慢慢的吃透当中的奥秘,无穷的乐趣在不远处等着你!
公式源码:
AA:=MA(WINNER(CLOSE*0.95)*100,3);
VAR1:=1/WINNER(CLOSE);
VAR2:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR3:=100-ABS(VAR2);
VAR4:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR5:=3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR6:=100-VAR5;
VAR7:=100-VAR4;
VAR8:=MA(WINNER(CLOSE*0.95)*100,3);
VAR9:=IF(VAR1>5,IF(VAR1<100,VAR1,VAR3-10),0);
VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARB:=SMA(VARA,3,1);
VARC:=SMA(VARB,3,1);
探索: EMA(3*VARB-2*VARC,3),,COLORMAGENTA;
ZS: MA(探索,3),COLORYELLOW;
主力:(-1)*(EMA(VAR7,1)-50)+50,COLORRED;
Z1: MA(主力,9),COLORGREEN;
VARD:=(-1)*(EMA(VAR7,1)-50)+50;
VARE:=(-1)*(EMA(VAR7,12)-50)+50;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
天涯:IF(RSI1>93 OR (AA>90 AND RSI1>80),80,100),;
海角: 0,COLORGREEN;
苦海: EMA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),6),COLORBLUE;