ihzx 发表于 2021-8-21 12:50:27

飞狐旺旺火指标公式

<p>VAR1:=(CLOSE-LLV(LOW,16))/(HHV(HIGH,16)-LLV(LOW,16))*100;<br />
VAR2:=SMA(VAR1,3,1);<br />
VAR3:=SMA(VAR2,3,1);<br />
VAR4:=SMA(VAR3,3,1);<br />
危险态势:VAR3,POINTDOT,LINETHICK2,colorFF00;<br />
段:VAR4,color6A9BFF;<br />
VAR5:=CROSS(VAR3,VAR4) AND VAR3&lt;15;<br />
VAR6:=CROSS(VAR3,VAR4) AND VAR3&lt;11;<br />
VAR7:=CROSS(VAR4,VAR3) AND VAR3&gt;85;<br />
VAR8:=CROSS(VAR2,VAR3) AND VAR3&gt;70 AND VAR3&gt;VAR4;<br />
顶线:100,colorFF;<br />
0;<br />
安全线:17,colorFF9933;<br />
平衡线:50,colorFFFF00;<br />
风险线:80;<br />
抄底:IF(危险态势&lt;12,40,0);<br />
底部区:IF(危险态势&lt;16.8,60,0),colorFFFF;<br />
DRAWTEXT(FILTER(VAR5,10)=1,70,'有戏'),color99FF;<br />
DRAWTEXT(FILTER(VAR6,10)=1,30,'抄底'),colorFFFF;<br />
STICKLINE(FILTER(VAR5,10)=1,0,50,10,0),color99FF;<br />
STICKLINE(FILTER(VAR6,10)=1,0,30,10,0),colorFF;<br />
STICKLINE(FILTER(VAR7,5)=1,85,100,10,0);<br />
DRAWTEXT(FILTER(VAR7,5)=1,80,'逃顶'),colorFFFFFF;<br />
STICKLINE(VAR8,70,100,10,0),colorFF00;<br />
DRAWTEXT(FILTER(VAR8,5)=1,70,'短顶'),colorFFFFFF;<br />
GJW:=AMOUNT/VOL/100;<br />
GJ:=IF(GJW&gt;CLOSE*1.1,CLOSE,IF(GJW&lt;CLOSE*0.9,CLOSE,GJW));<br />
X1:=100*WINNER(GJ);<br />
X:=MA(X1,5);<br />
AB:=HHV(CLOSE,0)/X;<br />
A1:=IF(AB&gt;2.5,-10,AB);<br />
A:=IF(A1&gt;1,-10,A1);<br />
(底限):=A;<br />
EE:=X/LLV(LOW,0);<br />
EF:=HHV(HIGH,0)/X*8*10;<br />
B:=IF(EF&gt;50,50,EF);<br />
(平衡区):=B;<br />
FG:=HHV(HIGH,0)/X*4.5*100;<br />
D:=IF(FG&gt;100,100,FG);<br />
(上限):=D;<br />
DRAWTEXT(CROSS(86,X),X,'-诱多');<br />
DRAWTEXT(CROSS(X,5),X,'-吸筹'),colorB700;<br />
DRAWTEXT(CROSS(X,45),X,'-拉升'),color9D9DFF;<br />
VARA1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;<br />
VARA2:=SMA(SMA(VARA1,3,1),3,1);<br />
VARA3:=EMA(VARA2,5);<br />
公主:=3*VARA2-2*VARA3;<br />
见底:STICKLINE(公主&lt;6.788,8,0,6,0),color66CC00;<br />
{股旁网-股票公式网站 www.gupang.com}<br />
AR1:=&quot;ezstock@IS_LASTBAR&quot;;<br />
X:=1;<br />
XX:=1;<br />
B001:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*X*100*5;<br />
B002:=(CLOSE-MA(CLOSE,42))/MA(CLOSE,42)*X*100*5;<br />
B003:=(CLOSE-MA(CLOSE,67))/MA(CLOSE,67)*X*100*5;<br />
B004:=(B001+B002)/2-B003*XX;<br />
B005:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*X;<br />
B006:=(-100)*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42))*X;<br />
B007:=(-100)*(HHV(HIGH,72)-CLOSE)/(HHV(HIGH,72)-LLV(LOW,72))*X;<br />
B008:=(EMA((B005+B006)/2-B007,6))*X;<br />
B009:=REF(CLOSE,1)*X;<br />
B010:=((SMA(MAX(CLOSE-B009,0),19,1))/(SMA(ABS(CLOSE-B009),19,1))*100-50)*1.25*XX;<br />
B011:=((SMA(MAX(CLOSE-B009,0),34,1))/(SMA(ABS(CLOSE-B009),34,1))*100-50)*1.25*XX;<br />
B012:=((SMA(MAX(CLOSE-B009,0),72,1))/(SMA(ABS(CLOSE-B009),72,1))*100-50)*1.25*XX;<br />
B013:=EMA(((B010+B011)/2-B012)*5,6)*X;<br />
B014:=(-1)*(B008+B004+B013)/3*1.5*XX;<br />
B015:=B013*X;<br />
B016:=B014;<br />
B017:=EMA(B013,4);<br />
KKM1:=B013*XX;<br />
DPM1:=B014*XX;<br />
B018:=EMA(B014,4)*XX;<br />
多头:=KKM1;<br />
空头:=DPM1;<br />
多均:=B017;<br />
空均:=B018;<br />
关注:=IF(CROSS(KKM1,DPM1),28,0);<br />
C023:=KKM1;<br />
C024:=DPM1;<br />
C025:=B017;<br />
C026:=B018;<br />
W:=WINNER(CLOSE);<br />
HWXWINNER:=DMA(W,VOL/CAPITAL*1)*100;<br />
XD1:=HWXWINNER;<br />
XWXMH:=EMA(HWXWINNER,6);<br />
XD2:=XWXMH;<br />
XD3:=MA(HWXWINNER,14);<br />
庄家控盘:(XD1-XD2)*10,colorFF00FF;<br />
EXPLAIN(XD1&gt;XD2,'发现大庄家连续活动,重点关注!'),colorFF;<br />
EXPLAIN(C023&gt;C024 AND C023&gt;C025,'多头:中线适度持股'),colorFF;<br />
EXPLAIN(C023&gt;C024 AND C023&lt;C025,'多头:中线获利减仓'),colorFFFF;<br />
EXPLAIN(C023&lt;C024 AND C023&gt;C025,'多头:中线择机进仓'),colorFF00;<br />
EXPLAIN(C023&lt;C024 AND C023&lt;C025,'多头:中线空仓观望'),colorFFFFFF;<br />
EXPLAIN(C024&gt;C023 AND C024&gt;C026,'空头:中线空仓观望'),colorFFFFFF;<br />
EXPLAIN(C024&gt;C023 AND C024&lt;C026,'空头:中线择机进仓'),colorFF00;<br />
EXPLAIN(C024&lt;C023 AND C024&gt;C026,'空头:中线获利减仓'),colorFFFF;<br />
EXPLAIN(C024&lt;C023 AND C024&lt;C026,'空头:中线适度持股'),colorFF;</p>
<p></p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 飞狐旺旺火指标公式