以下是通达信弯弓射月指标公式附图
通达信公式弯弓射月
AAA:=(3*C+H+L+O)/6;
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
DRAWBAND(VAR1,RGB(155,50,50),VAR6,RGB(250,250,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
短线:VAR1,COLORWHITE;
中线:VAR6,COLORYELLOW;
下跌:IF(VAR1=VAR6,VAR6,DRAWNULL),COLORGREEN;
N1:=5;N2:=7;N3:=11;
EM1:=EMA(C,N1),COLORWHITE;
EM2:=EMA(C,N2),COLORRED;
EM3:=EMA(C,N3),COLORGREEN;
TJ:=BETWEEN(EM2,EM1,EM3);
DRAWICON(TJ=0,L,14);
MA20:MA(C,20)LINETHICK3;
IF(MA20>REF(MA20,1),MA20,DRAWNULL)COLORRED,LINETHICK3;
立桩量:=FILTER(TJ=0,5);
价:REF(H,BARSLAST(立桩量)),NODRAW;
STICKLINE(C,REF(H,BARSLAST(立桩量)),REF(H,BARSLAST(立桩量)),6,0),COLORGREEN;
DRAWTEXT(C AND ISLASTBAR,价,' 突破买入');
出水芙蓉:=(OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))
AND (V/MA(V,30)>1.2 AND C/REF(C,1)>1.049);
DRAWTEXT(出水芙蓉,L-L*0.0005,'出水芙蓉'),COLORYELLOW;
AAA1:=CLOSE>OPEN;
BBB1:=AAA1&&CLOSE>MA(CLOSE,5)&&CLOSE>MA(CLOSE,10)&&CLOSE>MA(CLOSE,20);
CCC1:=BBB1&&OPEN<MA(CLOSE,10)&&OPEN<MA(CLOSE,20);
出水芙蓉2:=CCC1&&(CLOSE-OPEN)>0.0618*CLOSE;
DRAWTEXT(出水芙蓉2,H,'出水芙蓉2'),COLORLIMAGENTA;
STICKLINE(出水芙蓉,C,O,2,0),COLORYELLOW;
DRAWICON(CROSS(C,价),H,1);