大智慧L2公式:套利方向

{套利动向}

获利:=WINNERB(C);
套牢:=1-获利;
套利动向:(获利-套牢)-REF((获利-套牢),1),color3d;
套利动向1:SUM(套利动向,60);
套利动向2:MA(套利动向1,5);
套利动向3:MA(套利动向1,10);
集中度:SUM(套利动向,0),linethick0;
净额:(CAPITAL*套利动向)*C/10000,linethick0,ColorFFCC66;
多头:last(套利动向1>套利动向2 and 套利动向2>套利动向3),PRECIS0,linethick0,ColorCCCCFF;
连红:LAST(套利动向>0),PRECIS0,COLOR0000FF,linethick0;
拾红:COUNT(套利动向>0,10),PRECIS0,Color3300CC,linethick0;
廿红:COUNT(套利动向>0,20),PRECIS0,Color8000FF,linethick0;
陆拾红:COUNT(套利动向>0,60),PRECIS0,color3333CC,linethick0;
1,DOTLINE,colorFF7676,PRECIS0;{www.88gs.com}
FILLRGN(套利动向2,套利动向1,套利动向2<套利动向1,rgb(180,50,0),套利动向2>套利动向1,rgb(0,50,180)),layer5;
FILLRGN(套利动向3,套利动向2,套利动向3<套利动向2,rgb(200,0,100),套利动向3>套利动向2,rgb(0,100,100)),layer5;
DRAWTEXTREL(5,10,'套利动向'),COLORyellow;

(0)

相关推荐