以下是大智慧顶底趋势(长趋势看底顶峰副图指标)

DRAWTEXTABS(30,0,’个股顶底’);
短趋势:MA(3*SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1)-2*SMA(SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1),3,1),3),coloryellow,LINETHICK2;

Var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
 Var3:=LLV(LOW,34);
 Var4:=HHV(HIGH,34);
长趋势:MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),colorred,LINETHICK2;
判断底:=SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5;
 Var5:=CROSS(短趋势,长趋势)AND 长趋势<25;
 STICKLINE(短趋势<10 AND 判断底>0,0,30,6,0),colorgreen;
 STICKLINE(Var5,0,50,8,0),colorred;
看底:8,coloryellow;
顶峰:100,colorgreen;
趋势:=3*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1);
操盘线:=SMA(趋势,3,1);
 DRAWLINE( 趋势>=90,顶峰,趋势<90,顶峰 ,0 ),colorred;
 STICKLINE(CROSS(看底,趋势),0 ,30 ,6 ,0 ),colorgreen;

a:=短趋势<10 AND 判断底>0;
 a1:=Var5;
 a2:=CROSS(看底,趋势);
a3:=CROSS(趋势,看底 );
a4:=a+a1+a2+a3;
 Var6:=EMA(HHV(HIGH,500),21);
 Var7:=EMA(HHV(HIGH,250),21);
 Var8:=EMA(HHV(HIGH,90),21);
 Var9:=EMA(LLV(LOW,500),21);
 VarA:=EMA(LLV(LOW,250),21);
 VarB:=EMA(LLV(LOW,90),21);
 VarC:=EMA((Var9*0.96+VarA*0.96+VarB*0.96+Var6*0.558+Var7*0.558+Var8*0.558)/6,21);
 VarD:=EMA((Var9*1.25+VarA*1.23+VarB*1.2+Var6*0.55+Var7*0.55+Var8*0.65)/6,21);
 VarE:=EMA((Var9*1.3+VarA*1.3+VarB*1.3+Var6*0.68+Var7*0.68+Var8*0.68)/6,21);
 VarF:=EMA((VarC*3+VarD*2+VarE)/6*1.738,21);
 Var10:=REF(LOW,1);
 Var11:=SMA(ABS(LOW-Var10),3,1)/SMA(MAX(LOW-Var10,0),3,1)*100;
 Var12:=EMA(IF(CLOSE*1.35<=VarF,Var11*10,Var11/10),3);
 Var13:=LLV(LOW,30);
 Var14:=HHV(Var12,30);
 Var15:=IF(MA(CLOSE,58),1,0);
 Var16:=EMA(IF(LOW<=Var13,(Var12+Var14*2)/2,0),3)/618*Var15;
 Var17:=IF(Var16>50,50,Var16)/3.82*6;
 STICKLINE(Var17>0,0,var17/2,6,0),colorf00ff0 ;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。