1、红色持股,绿色持币,紫色反弹,黄色调整。
2、紫色K线-----建仓-----持仓资金比例20% 30%。
3、红色K线-----增仓-----持仓资金比例60% 以上。
4、黄色K线-----减仓-----持仓资金比例20% 30%。
5、绿色K线-----清仓-----持仓资金比例0%。
M3:MA(CLOSE,3),COLORRED,LINETHICK;M13:MA(CLOSE,13),COLORRED,LINETHICK;
M34:MA(CLOSE,34),COLORRED,LINETHICK;
X:=BARSLAST(REF(CROSS(C,MA(C,120)),1)) AND CROSS(MA(C,20),MA(C,120));
IF(M34 REF(M34,1),M34,DRAWNULL),COLORGREEN,LINETHICK;
STICKLINE(M3 =M13 AND M34 =REF(M34,1) ,H ,L ,0.1 ,0 ),COLORRED;
STICKLINE(M3 =M13 AND M34 =REF(M34,1) AND C =O ,O ,C ,3 ,1 ),COLORRED;
STICKLINE(M3 =M13 AND M34 =REF(M34,1) AND C O ,O ,C ,3 ,0 ),COLORRED;
STICKLINE(M3 M13 AND M34 =REF(M34,1) ,H ,L ,0.1 ,0 ),COLORYELLOW;
STICKLINE(M3 M13 AND M34 =REF(M34,1) AND C =O ,O ,C ,3 ,1 ),COLORYELLOW;
STICKLINE(M3 M13 AND M34 =REF(M34,1) AND C O ,O ,C ,3 ,0 ),COLORYELLOW;
STICKLINE(M3 M13 AND M34 REF(M34,1) ,H ,L ,0.1 ,0 ),COLORGREEN;
STICKLINE(M3 M13 AND M34 REF(M34,1) AND C =O ,O ,C ,3 ,1 ),COLORGREEN;
STICKLINE(M3 M13 AND M34 REF(M34,1) AND C O ,O ,C ,3 ,0 ),COLORGREEN;
STICKLINE(M3 =M13 AND M34 REF(M34,1) ,H ,L ,0.1 ,0 ),COLORMAGENTA;
STICKLINE(M3 =M13 AND M34 REF(M34,1) AND C =O ,O ,C ,3 ,1 ),COLORMAGENTA;
STICKLINE(M3 =M13 AND M34 REF(M34,1) AND C O ,O ,C ,3 ,0 ),COLORMAGENTA;