金粉蓝绿主图公式
公式使用说明:粉色买进,金色加仓,蓝色减仓,绿色不关注。 MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA20:MA(CLOSE,20);MA60:MA(CLOSE,60);N:=30;KK:=BARSLAST(CURRBARSCOUNT=N);GD:=CONST(IF(ISLASTBAR=1,HHV(H,KK),0));RR:=CONST(IF(ISLASTBAR=1,LLV(L,KK),0));KJ:=GD-RR;A:=EMA(C,21)COLORBLUE,LINETHICK3;B:=A<REF(A,1);HY:=IF(B-1,A,DRAWNULL)COLORRED,LINETHICK3;AA:=EMA(C,3) > EMA(C,21);BB:=EMA(C,3) < EMA(C,21);CC:= EMA(C,3) > EMA(C,8);CC1:=EMA(C,3) < EMA(C,8);STICKLINE(AA,L,H,0,0),COLOR0088EE;{?E└?}STICKLINE(AA,CLOSE,OPEN,3,0),COLOR0055AA;STICKLINE(AA,CLOSE,OPEN,2.8,0),COLOR0066BB;STICKLINE(AA,CLOSE,OPEN,2.5,0),COLOR0077CC;STICKLINE(AA,CLOSE,OPEN,2.2,0),COLOR0088DD;STICKLINE(AA,CLOSE,OPEN,1.7,0),COLOR0099EE;STICKLINE(AA,CLOSE,OPEN,1.2,0),COLOR00AAFF;STICKLINE(AA,CLOSE,OPEN,0.7,0),COLOR00CCFF;STICKLINE(AA,CLOSE,OPEN,0.2,0),COLOR00FFFF;STICKLINE(BB,H,L,0,1),COLORGREEN;STICKLINE(BB,C,O,3.2,0),COLOR006600;STICKLINE(BB,C,O,2.6,0),COLOR008800;STICKLINE(BB,C,O,1.9,0),COLOR00AA00;STICKLINE(BB,C,O,1.1,0),COLOR00CC00;STICKLINE(BB,C,O,0.3,0),COLOR00FF00;STICKLINE(BB AND CC,H,L,0,1),COLORFF55FF;STICKLINE(BB AND CC,C,O,3.2,0),COLOR880088;STICKLINE(BB AND CC,C,O,2.6,0),COLORAA00AA;STICKLINE(BB AND CC,C,O,1.9,0),COLORCC00CC;STICKLINE(BB AND CC,C,O,1.1,0),COLOREE00EE;STICKLINE(BB AND CC,C,O,0.3,0),COLORFF44FF;STICKLINE(AA AND CC1,H,L,0,1),COLORFF8800;STICKLINE(AA AND CC1,C,O,3.2,0),COLORFF2200;STICKLINE(AA AND CC1,C,O,2.6,0),COLORFF4400;STICKLINE(AA AND CC1,C,O,1.9,0),COLORFF6600;STICKLINE(AA AND CC1,C,O,1.1,0),COLORFF8800;
STICKLINE(AA AND CC1,C,O,0.3,0),COLORFFAA00;
|