Line5 := MA(CLOSE,5);
Line10 := MA(CLOSE,10);
Line22 := MA(CLOSE,22);
五日线: Line5;
十日线: MA(CLOSE,10);
saleOrNot := HIGH>= REF(HIGH,1) AND HIGH> REFX(&HIGH,1) AND (OPEN +CLOSE)/2>MA(CLOSE,5);
isBUY := Line5>REF(Line5,1) AND Line5>Line10 ;
DRAWLINE( CLOSE>Line22,REF(CLOSE,1) ,CLOSE>Line22,CLOSE,5),colorred;
DRAWTEXT( REF(Line10,1)>=REF(Line5,1) AND Line5>Line10 AND CLOSE>Line22 ,OPEN,"增持") , colorred;
DRAWTEXT( REF(Line10,1)
DRAWTEXT( saleOrNot ,HIGH,"T"), colorcyan;
DRAWTEXT( REF(Line5,1)