v1:=(h-l)/l*100;{振幅} xg8涨:if(v1>8 and c>=o,1,0),colorwhite;{振幅大于8,阳线} xg8跌:if(v1>8 and c<o,1,0),colorwhite,stick;{振幅大于8,阴线} xg10涨:if(v1>10 and c>=o,1,0),colorff9900;{振幅大于10,阳线} xg10跌:if(v1>10 and c<o,1,0),colorff9900,stick;{振幅大于10,阴线} xg15涨:if(v1>15 and c>=o,1,0),color00ff00;{振幅大于15,阳线} xg15跌:if(v1>15 and c<o,1,0),color00ff00,stick;{振幅大于15,阴线} xg20涨:if(v1>20 and c>=o,1,0),colorred;{振幅大于20,阳线} xg20跌:if(v1>20 and c<o,1,0),colorred,stick;{振幅大于20,阴线} |
|