Current location - Trademark Inquiry Complete Network - Futures platform - Masters who know quantification or programming, please take a look. This is a stock indicator and help explain the logic principle.
Masters who know quantification or programming, please take a look. This is a stock indicator and help explain the logic principle.

Var1:=EMA(HHV(HIGH,500),21);{Find the 21-period moving average after the highest price in the 500 period}

Var2:=EMA(HHV (HIGH,250),21);{Find the 21-period moving average after the highest price in 250 periods}Var3:=EMA(HHV(HIGH,90),21);{Find the 21-period moving average after the highest price in 90 periods Moving average}Var4:=EMA(LLV(LOW,500),21);{Find the 21-period moving average after the lowest price in the 500 period}Var5:=EMA(LLV(LOW,250),21);{ Find the 21-period moving average after the lowest price in 250 periods}Var6:=EMA(LLV(LOW,90),21);{Find the 21-period moving average after the lowest price in 90 periods}

Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21);

Var8:=EMA(( Var4*1.25+Var5*1.23+Var6*1.2+Var1*0.55+Var2*0.55+Var3*0.65)/6,21);

Var9:=EMA((Var4*1.3+Var5*1.3 +Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21);

VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738 ,21);

VarB:=REF(LOW,1);

VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW -VarB,0),3,1)*100;

VarD:=EMA(IF(CLOSE*1.35<=VarA,VarC*10,VarC/10),3);

VarE:=LLV(LOW,30);

VarF:=HHV(VarD,30);

Var10:=IF(MA(CLOSE,58),1 ,0);

Fund entry: EMA(IF(LOW<=VarE,(VarD+VarF*2)/2,0),3)/618*Var10;

Fund Admission: IF(Fund Admission>0,Fund Admission,0),STICK,linethick2, COLOR0000ff;

Today’s Amount: Fund Admission;

a1:IF (Fund entry>0,Today’s amount*1.2,0),STICK,linethick5, COLOR0000ff;

a2:IF(Fund entry>0,Today’s amount*0.8,0),STICK,linethick5, COLOR0066ff;

a3:IF(Fund entry>0,Today’s amount*0.6,0),STICK,linethick5, COLOR0099ff;

a4:IF(Fund entry>0, Today’s amount*0.4,0) ,STICK,linethick5,COLOR00ccff;

a5:IF(Fund entry>0,Today’s amount*0.2,0) ,STICK,linethick5,COLOR00ffff;

< p>Stock Management Qiankun will give you the answer and give you the following answer

This indicator is based on the highest price and lowest price in the three stages of short, medium and long term, and then converted into a calculation formula according to the author's understanding. From the perspective of the formula, it has a certain usability. Because I don’t know what the original author thought when he wrote this formula, I can’t do too much analysis and answers. Because what does the weighted conversion data above represent? It can only be used as an observation and then analyzed during long-term use in the future.