通达信庄见愁指标公式
通达信跟庄进退指标公式
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;
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;
{指标网-股票公式网站 www.guPang.com}
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;
散筹6:EMA(散筹5, 3) , COLORFF11CC;
散筹7:EMA(散筹4, 3), , COLORFF00CC;
DRAWTEXT(crOSS(庄, 20) AND Q10<-13,10,'*抄底'), COLOR00FF00;
DRAWTEXT(CROSS(庄, 散筹5) AND REF(庄,1)<34,REF(庄,1),'看涨'), COLOR00FF00;
DRAWTEXT(CROSS(散筹1, 庄) AND REF(庄,1)>80, REF(庄,3), '*看跌'), COLOR00FF00;
DRAWTEXT(CROSS(庄, 散筹1) AND Q5 AND 散筹1<20 AND Q1>9 OR 散筹1>1*REF(散筹1, 1)
AND Q1>4 AND 散筹1<60, 30, '涨'), COLOR1010FF;
通达信金品趋势主图指标公式