MA7:=MA(H,7)*,COLORMAGENTA;空线:MA(C,25),REEN;AA:=空线>REF(空线,1);多线:IF(AA,空线,DRAWNULL),COLORRED;N:=MA(CLOSE,34);F1:=REF(L,1)=LLV(L,30)ANDREF(C>O*,1)ANDL>REF(L,1);F2:=BARSLAST(F1);F3:=COUNT(CROSS(C,空线),F2)ANDAAANDCROSS(C,空线);DRAWICON(F3,L,9);MA77:=H>MA7ANDO<MA7ANDMA7>REF(MA7,1)ANDREF(MA7>REF(MA7,1),2)ANDREF(MA7>空线,2)AND空线>REF(空线,1)ANDMA7>空线ANDO/空线<<(4)!=0;STICKLINE(C>=NANDC>=O,C,O,,0),COLORRED;STICKLINE(C>=NANDC>=O,H,L,0,0),COLORRED;STICKLINE(C>=NANDC<O,C,O,,1),COLORRED;STICKLINE(C>=NANDC<O,O,H,0,0),COLORRED;STICKLINE(C>=NANDC<O,C,L,0,0),COLORRED;STICKLINE(C<NANDC>O,C,O,,1),COLORFFFF00;STICKLINE(C<NANDC<=O,C,O,,1),COLORFFFF00;STICKLINE(C<NANDC<=O,H,L,0,1),COLORFFFF00;STICKLINE(C<NANDC>O,C,H,0,1),COLORFFFF00;STICKLINE(C<NANDC>O,O,L,0,1),COLORFFFF00;AA1:=MA(C,5);BB1:=MA(C,15);A:=CROSS(AA1,BB1);STICKLINE(AANDC<N,HHV(H,4),HHV(H,4),50,1),REEN;DRAWTEXT(AANDC<N,HHV(H,4),'加做空'),REEN;STICKLINE(AANDC>=N,LLV(L,4),LLV(L,4),50,1),COLORMAGENTA;DRAWTEXT(AANDC>=N,LLV(L,4),'加做多'),COLORMAGENTA;X:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*;XX:=X>40;AF:=C/REF(C,1)>; BB:=BARSLAST(AF);CC:=L<=(REF(H,BB)+REF(L,BB))/2*; DD:=,BB)=ANDBB<10ANDC>LANDXX;GG:=BARSLAST(DD);HH:=H>*REF(L,GG)*N;卖出:=COUNT(HH,GG)=1ANDHHANDGG<10;STICKLINE(AF,C,O,2,0),COLORMAGENTA;STICKLINE(DD,C,O,2,0),COLORBLUE;STICKLINE(卖出,C,O,2,0),COLORYELLOW;DRAWICON(DD,L,27);STICKLI
通达信指标公式源码 趋势大王主图源码 来自淘豆网m.daumloan.com转载请标明出处.