天:=MAX(O,C);
地:=MIN(O,C);
均价:=(H+L+O+C)/4;
B:=(2*Ema(LLV(均价,7),10)-均价);
做空能量:(3*B-2*SMA(B,10,10)),colorWHITE;
做多能量:EMA(((SLOPE(CLOSE,3)*3)+CLOSE),20),COLORYELLOW,PRECIS2;
CC:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
上:(1.05)*DD,CIRCLEDOT,COLOR0099FF;
下:(0.95)*DD,CIRCLEDOT,COLOR0099FF;
中:(上+下)/2,CIRCLEDOT,COLOR0099FF;
STICKLINE(天>=做空能量 AND C>=O,O,C,7.5,1 ),colorRED;
STICKLINE(天>=做空能量 AND O>C,O,C,7.5,0 ),colorRED;
STICKLINE(天>=做空能量 AND C>=O,C,H,0.5,0),colorRED;
STICKLINE(天>=做空能量 AND C>=O,l,o,0.5,0),colorRED;
STICKLINE(天>=做空能量 AND O>C,l,C,0.5,0),colorRED;
STICKLINE(天>=做空能量 AND O>C,O,H,0.5,0),colorRED;
STICKLINE(地<做空能量 AND C>=O,O,C,7.5,1 ),colorGREEN;
STICKLINE(地<做空能量 AND O>C,O,C,7.5,0),colorGREEN;
STICKLINE(地<做空能量 AND C<O,O,H,0.5,0),colorGREEN;
STICKLINE(地<做空能量 AND C<O,C,L,0.5,0),colorGREEN;
STICKLINE(地<做空能量 AND C>=O,O,L,0.5,0),colorGREEN;
STICKLINE(地<做空能量 AND C>=O,C,H,0.5,0),colorGREEN;