谢谢<里ch>朋友投稿分享,
里ch:这个公式浪费的好长时间,不过你可以给大家分享的.
龙值线:100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8)),COLORYELLOW,LINETHICK1;
低值线:15,LINETHICK1,COLORGREEN;
中值线:40,LINETHICK1,COLORBLUE;
高值线:70,LINETHICK1,COLORRED;
超值线:90,LINETHICK1,COLORMAGENTA
RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*60;
VARa:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VARb:=SMA(VARa,9,1)+100;
VARc:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARd:=SMA(VARc,3,1);
VARe:=SMA(VARd,3,1)+100;
VARf:=VARe-VARb;
趋势: IF(VARf>45,VARf-45,0);
STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋势,1),5,0),COLORMAGENTA;
STICKLINE(REF(趋势,1)> 趋势, 趋势,REF(趋势,1),5,0),COLORCYAN;
v1:=llv(low,10);
v2:=hhv(h,25);
价位线:=ema((c-v1)/(v2-v1)*4,4);
DRAWTEXT(CROSS(价位线,0.3),7,'●'),COLORRED;
DRAWTEXT(CROSS(3.5,价位线),102,'★'),COLORGREEN;{抛};
Var2:=REF(LOW,1);
Var3:=SMA(ABS(LOW-Var2),13,1)/SMA(MAX(LOW-Var2,0),13,1)*100;
Var4:=EMA(IF(CLOSE*1.2,Var3*13,Var3/13),13);
Var5:=LLV(LOW,34);
Var6:=HHV(Var4,34);
Var7:=IF(LLV(LOW,56),1,0);
Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;
Var9:=EMA(CLOSE,5);
Var10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);
底部建仓:IF(Var8>REF(Var8,1),Var8,0),color9FFF,STICK;
试探拉升:IF(Var8<REF(Var8,1),Var8*1.5,0),colorFFF,STICK;
VarTIME:=IF(YEAR>=9999 AND MONTH>=10 AND DAY>=28,0,1);
VarDTIME:=IF(YEAR=9999 AND MONTH=10 AND DAY=28,1,0);
q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100*VarTIME;
q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*VarTIME*100;
q3:=SMA(q2, 9, 1)*VarTIME;
q4:=SMA(q3, 3, 1)*VarTIME;
谢庄:3*q3-2*q4, ,color1010FF,LINETHICK2;
q5:=谢庄>1*REF(谢庄, 1)*VarTIME;
q6:=LLVBARS(LOW, 50)*VarTIME;
q7:=SUM(VOL, q6)*VarTIME;
q8:=HHVBARS(HIGH, 50)*VarTIME;
q9:=SUM(VOL, q8)*VarTIME;
q10:=(CLOSE-REF(OPEN, q8))/REF(OPEN, q8)*100;
q11:=HHV(谢庄,5);
波1:EMA(q3, 3) , COLORFFDDCC;
波2:EMA(波1, 3) , COLORFFBBCC;
波3:EMA(波2, 3) , COLORFF99CC;
波4:EMA(波3, 3) , COLORFF55CC;
波5:EMA(波4, 3) , COLORFF33CC;
DRAWTEXT(CROSS(谢庄, 波5) AND ref(谢庄,1)>30,ref(谢庄,1),'腾飞'), color1010FF;
DRAWTEXT(CROSS(谢庄, 波5) AND ref(谢庄,1)<30,ref(谢庄,1),'试飞'), color1010FF;