通达信RSV优化后牛逼公式

2015-11-05 22:30:00来源:本站整理浏览:380

通达信RSV优化后牛逼公式

源码

RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);动能:SMA(RSV,7,1),COLORWHITE,LINETHICK2;运行:SMA(SMA(RSV,7,1),3,1),COLORBROWN,LINETHICK2;Y3:(((CLOSE/COST(13))<=0.8)*10),COLORBLACK;轨迹:SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORMAGENTA,LINETHICK2;DRAWTEXT(CROSS(动能,23),10,'机会');
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;
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;
VAR21:=MA(CLOSE,5);
VAR22:=MA(CLOSE,10);
VAR23:=MA(CLOSE,20);
VAR24:=MA(CLOSE,30);
VAR25:=(VAR21+VAR22+VAR23+VAR24)/4;
VAR26:=(VAR5-REF(VAR25,5))/REF(VAR25,5)*1500;
VAR27:=(VAR25-REF(VAR25,5))/REF(VAR25,5)*1500;
VAR28:=EMA(VAR26,8);
VAR29:=TROUGHBARS(3,15,1)<10;
VAR210:=PEAKBARS(3,15,1)<10;
VAR211:=IF(VAR29=1,50,0);
VAR212:=IF(VAR210=1,50,0);
底部勇于介入:IF(VAR211=50,50,0);
头部果断出局:IF(VAR212=50,100,0);
买入:IF( 底部勇于介入>REF(底部勇于介入,1),50,0),COLORRED;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
VAR213:=PEAKBARS(3,15,1)<10;
VAR215:=IF(VAR213=1,2,0);
顶:= IF(VAR215=2,2,0);
顶A:IF(顶>REF(顶,1),50,0),COLORGREEN;
DRAWTEXT(顶A=50,45,'快跑'),COLOR00FF00;

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式