同花顺盘中参考多空买卖指标公式
- 指标类别: 同花顺指标公式
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标分类: 趋势
- 画线方法: 副图
- 日期:2022-09-12 来源:互联网
同花顺盘中参考多空买卖指标公式:
var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
var2:=2*ABS(var1);
var3:=100-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);
var4:=100-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);
var5:=(HIGH+LOW+CLOSE)/3;
var6:=(var5-MA(var5,14))/(0.015*AVEDEV(var5,14));
var7:=(var5-MA(var5,70))/(0.015*AVEDEV(var5,70));
var8:=IF(var6>=150 AND var6<200 AND var7>=150 AND var7<200,10,0);
var9:=IF(var6<=-150 AND var6>-200 AND var7<=-150 AND var7>-200,-10,var8);
vara:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
varb:=100-ABS(vara);
varc:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);
vard:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);
vare:=REF(LOW,1)*0.9;
varf:=LOW*0.9;
var10:=(varf*VOL+vare*(CAPITAL-VOL))/CAPITAL;
var11:=EMA(var10,30);
var12:=var11-CLOSE;
var13:=REF(CLOSE,1);
var14:=SMA(MAX(CLOSE-var13,0),7,1)/SMA(ABS(CLOSE-var13),7,1)*100;
var15:=SMA(MAX(CLOSE-var13,0),13,1)/SMA(ABS(CLOSE-var13),13,1)*100;
var16:=BARSCOUNT(CLOSE);
var17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
var18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
var1a:=(SMA(var19,4,1)-50)*2;
var1b:=SMA(var1a,3,1);
var1c:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
var1d:=SMA(var1c,4,1);
var1e:=SMA(var1d,3,1);
var1f:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
var20:=IF(var17<=25 AND var18<-95 AND var1f>20 AND var1b<-30 AND var1e<30 AND var12>=-0.25 AND var14<22 AND var15<28 AND var16>50,80,0);
情报: var3;
天线: IF(varb<90,varb,100);
红军: IF(var1>0,var1,0),colorred, LINESTICK;
绿军: IF(var1<0,var2,0),colorgreen,LINESTICK;
导弹: var20;
预警系统: IF(var7>=200 AND var6>=150,15,IF(var7<=-200 AND var6<=-150,-15,var9))+60;
STICKLINE(var3>=REF(var4,1),var3,var4,8,0);
STICKLINE(var3<REF(var4,1),var3,var4,8,0);
var21:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);
var22:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1);
var23:=红军>50 AND 预警系统>60 AND 天线=100;
var24:=红军>48 AND 预警系统>60 AND 天线<100;
var25:=绿军>38 AND 预警系统<55;
var26:=导弹>50 AND 天线<90;
var27:=var3<REF(var4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
var28:=var3>=REF(var4,1) AND CLOSE<REF(CLOSE,1) AND 预警系统=60 AND 导弹=0 AND 绿军>=REF(绿军,1) AND varc<REF(vard,1);
DRAWTEXT(var21 AND COUNT(var21,30)=1,100,'上升通道,持股待长或高抛低吸!');
DRAWTEXT(var22 AND COUNT(var22,30)=1,90,'下降通道,小心无量阴跌! ');
DRAWTEXT(var23 AND COUNT(var23,30)=1,70,'上涨过急,需要调整,短线先抛出! ');
DRAWTEXT(var24 AND COUNT(var24,30)=1,80,'庄家出货,大跌在即,中线抛出! ');
DRAWTEXT(var25 AND COUNT(var25,30)=1,50,'不必杀跌,应有小反弹 ,跌停除外!');
DRAWTEXT(var26 AND COUNT(var26,30)=1,30,'坚决抢反弹,但巨量封跌停除外 ');
DRAWTEXT(var27 AND COUNT(var27,30)=1,40,'有大资金进场迹象,关注!');
DRAWTEXT(var28 AND COUNT(var28,30)=1,20,'见顶回落');
同花顺盘中参考多空买卖指标公式实例图解:
同花顺盘中参考多空买卖指标公式