搜索
写经验 领红包

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

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

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

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

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

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

6强弱分界:50,colorffffcc;

7底部:0,color00ffff;

8安全:20,colorffaa66,linethick1;

9预警:80,colorffaa66,linethick1;

10顶部:100,colorffff33;

11v1:=llv(low,10);

12v2:=hhv(h,25);

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

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

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

16var2q:=ref(low,1);

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

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

19var5q:=llv(low,30);

20var6q:=hhv(var4q,30);

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

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

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

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

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

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

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

29aa6:=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;

33var11:=3;

34var21:=(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));

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

36rsv2:=(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;

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

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

41看底:stickline(中线

4