搜索
写经验 领红包

私募抄底指标公式 私募抄底指标源码

1、var1:=(hhv(high,9)-close)/(hhv(high,9)-llv(low,9))*100-70;

2、var2:=sma(var1,9,1)+100;

3、var3:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;

4、var4:=sma(var3,3,1);

5、var5:=sma(var4,3,1)+100;

6、强弱分界:50,colorffffcc;

7、底部:0,color00ffff;

8、安全:20,colorffaa66,linethick1;

9、预警:80,colorffaa66,linethick1;

10、顶部:100,colorffff33;

11、v1:=llv(low,10);

12、v2:=hhv(h,25);

13、价位线:=ema((c-v1)/(v2-v1)*4,4);

14、drawtext(cross(价位线,0.3),20+4,'●买'),colorred;

15、drawtext(cross(3.5,价位线),100-4,'●卖'),colorgreen;

16、var2q:=ref(low,1);

17、var3q:=sma(abs(low-var2q),3,1)/sma(max(low-var2q,0),3,1)*100;

18、var4q:=ema(if(close*1.3,var3q*10,var3q/10),3);

19、var5q:=llv(low,30);

20、var6q:=hhv(var4q,30);

21、var7q:=if(ma(close,58),1,0);

22、var8q:=ema(if(low100,100,var8q);

24、吸筹:stickline(var9q>-120,0,var9q,8,1),coloryellow;

25、aa3:=(hhv(high,21)-close)/(hhv(high,21)-llv(low,21))*100-10;

26、aa4:=(close-llv(low,21))/(hhv(high,21)-llv(low,21))*100;

27、aa5:=sma(aa4,13,8);

28、走势:=ceiling(sma(aa5,13,8));

29、aa6:=sma(aa3,21,8);

30、卖临界:stickline(走势-aa6>85,103,100,10,1),colorred,linethick2;

31、主力线:=3*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1)-2*sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1),3,1);

32、超短线:(((主力线-llv(主力线,21))/(hhv(主力线,21)-llv(主力线,21)))*(4))*(25),linethick2,colorred;

33、var11:=3;

34、var21:=(3)*(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(100),5,1))-(2)*(sma(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(100),5,1),3,1));

35、rsv1:=(close-llv(low,21))/(hhv(high,21)-llv(low,21))*100;

36、rsv2:=(close-llv(low,37))/(hhv(high,37)-llv(low,37))*100;

37、短线:sma(sma(rsv1,3,1),3,1)+3*std(close,21),color00ff00;

38、中线:sma(rsv2,5,1)+2*std(close,37),colorred;

39、rsv3:=(close-llv(low,55))/(hhv(high,55)-llv(low,55))*100;

40、长线:sma(rsv3,5,1),coloryellow;

41、看底:stickline(中线