同花順盤中參考多空買賣指標公式
- 指標類別: 同花順指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期: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,'見頂回落');
同花順盤中參考多空買賣指標公式實例圖解:
同花順盤中參考多空買賣指標公式