ihzx 发表于 2021-8-21 14:00:04

大智慧趋势指标公式

<p>var1:=IF(OPEN&lt;=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));<br />
var2:=IF(OPEN&gt;=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));<br />
var3:=SUM(var1,5);<br />
var4:=SUM(var2,5);<br />
var5:=IF(var3&gt;var4,(var3-var4)/var3,IF(var3=var4,0,(var3-var4)/var4));<br />
var6:=MA(var5,5);<br />
var8:=IF(OPEN&lt;=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));<br />
var9:=IF(OPEN&gt;=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));<br />
varA:=SUM(var8,3);<br />
varB:=SUM(var9,3);<br />
varC:=IF(varA&gt;varB,(varA-varB)/varA,IF(varA=varB,0,(varA-varB)/varB));<br />
varD:=MA(varC,3);<br />
火: BARSLAST(EMA(CLOSE,5)&lt;REF(EMA(CLOSE,5),1)),COLORRED;<br />
varE:=HHV(CLOSE,2);<br />
varF:=BARSLAST(varE&lt;REF(varE,2));<br />
var10:=IF(varF&gt;=1,LLV(varE,varF),LOW);<br />
var11:=var10+var10*varF*0.5/100;<br />
var12:=IF(var11&lt;REF(var11,1),MA(LOW,3),var11);<br />
var13:=var10+var10*(varF-1)*1.618/100;<br />
山: COUNT(EMA(CLOSE,5)&gt;REF(EMA(CLOSE,5),1),5),COLORGREEN;<br />
var14:=IF(OPEN&lt;=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));<br />
var15:=IF(OPEN&gt;=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));<br />
var16:=SUM(var8,3);<br />
var17:=SUM(var9,3);<br />
var18:=IF(varA&gt;varB,(varA-varB)/varA,IF(varA=varB,0,(varA-varB)/varB));<br />
var19:=MA(varC,3);<br />
STICKLINE(山&gt;0,火,0,4,0),COLORRED;<br />
买入或持股:0,COLORRED;<br />
var1A:=IF(OPEN&lt;=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));<br />
var1B:=IF(OPEN&gt;=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));<br />
var1C:=SUM(var8,3);<br />
var1D:=SUM(var9,3);<br />
var1E:=IF(varA&gt;varB,(varA-varB)/varA,IF(varA=varB,0,(varA-varB)/varB));<br />
var1F:=MA(varC,3);<br />
STICKLINE(山&gt;0,火,山,4,1),COLORFFCC66;<br />
下跌抛出:0,COLORFFCC66;<br />
var20:=IF(OPEN&lt;=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));<br />
var21:=IF(OPEN&gt;=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));<br />
var22:=SUM(var8,3);<br />
var23:=SUM(var9,3);<br />
var24:=IF(varA&gt;varB,(varA-varB)/varA,IF(varA=varB,0,(varA-varB)/varB));<br />
var25:=MA(varC,3);<br />
STICKLINE(山=0 AND 火=0,0,1,4,1),COLORWHITE;<br />
观望:0,COLORWHITE;<br />
var26:=IF(OPEN&lt;=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));<br />
var27:=IF(OPEN&gt;=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));<br />
var28:=SUM(var8,3);<br />
var29:=SUM(var9,3);<br />
var2A:=IF(varA&gt;varB,(varA-varB)/varA,IF(varA=varB,0,(varA-varB)/varB));<br />
var2B:=MA(varC,3);<br />
STICKLINE(山&lt;火,火,山,4,0),COLOR00FF00;<br />
植被:0,COLOR00FF00;<br />
var2C:=IF(OPEN&lt;=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));<br />
var2D:=IF(OPEN&gt;=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));<br />
var2E:=SUM(var8,3);<br />
var2F:=SUM(var9,3);<br />
var30:=IF(varA&gt;varB,(varA-varB)/varA,IF(varA=varB,0,(varA-varB)/varB));<br />
var31:=MA(varC,3);<br />
var32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10;<br />
K: SMA(SMA(var32,2,1),2,1),colorwhite;<br />
D: SMA(SMA(SMA(var32,2,1),2,1),3,1),COLORYELLOW;<br />
J: (3*SMA(SMA(var32,2,1),2,1)-2*SMA(SMA(SMA(var32,2,1),2,1),3,1)),COLORff00ff;<br />
var33:=IF(OPEN&lt;=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));<br />
var34:=IF(OPEN&gt;=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));<br />
var35:=SUM(var8,3);<br />
var36:=SUM(var9,3);<br />
var37:=IF(varA&gt;varB,(varA-varB)/varA,IF(varA=varB,0,(varA-varB)/varB));<br />
var38:=MA(varC,3);<br />
STICKLINE(REF(山,1)=0 AND 山&gt;0,0,5{-1},4,0),COLORYELLOW;<br />
KDJ金叉:0,COLORYELLOW;<br />
DRAWTEXT(REF(火,3)&gt;0 AND REF(火,2)&gt;0 AND REF(火,1)&gt;0 AND 火=0 AND REF(火,1)&gt;山,REF(火,1),'●'),colorred;<br />
DRAWTEXT(REF(火,3)&gt;0 AND REF(火,2)&gt;0 AND REF(火,1)&gt;0 AND 火=0 AND REF(火,1)&gt;山,REF(火,1),'&curren;'),coloryellow;</p>
<p></p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 大智慧趋势指标公式