钱龙短线修改简化,精美精确,显而易见,欢迎使用。 N:=5; VAR1:=MA((VOL-REF(VOL,1))/REF(VOL,1),5); VAR2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; 空仓:VAR2*(1+VAR1),colorwblue,LINETHICK; MY:VAR2*(1+VAR1),colorwhite,LINETHICK1; 升:IF(MY>REF(MY,1),MY,DRAWNULL),COLORFF00FF,LINETHICK3; 降:IF(MY<REF(MY,1),MY,DRAWNULL),COLOR00FF00,LINETHICK3; SHT:= MY, COLORSTICK; SHTMA:= MA(SHT,N); 主力空仓:IF(MY<0,MY,0),colorblue,LINETHICK2; 空仓:IF(MY<0,MY,0),coloryellow,LINETHICK1; 主力控盘:IF(MY<0,0,MY),colorred,LINETHICK2; 控盘:IF(MY<0,0,MY),coloryellow,LINETHICK1; 白线破仓:=IF(MY<SHTMA,MY,SHTMA),colorblue,LINETHICK2; 趋势强弱:=IF(MY>SHTMA,SHTMA,SHTMA),colorwhite,LINETHICK1; STICKLINE(MY>0 AND MY<REF(MY,1),MY,0,4,0),color007546; STICKLINE(MY>0 AND MY<REF(MY,1),MY*0.9,0,4,0),color008C54; STICKLINE(MY>0 AND MY<REF(MY,1),MY*0.8,0,4,0),color00A664; STICKLINE(MY>0 AND MY<REF(MY,1),MY*0.7,0,4,0),color00BF73; STICKLINE(MY>0 AND MY<REF(MY,1),MY*0.6,0,4,0),color00D982; STICKLINE(MY>0 AND MY<REF(MY,1),MY*0.5,0,4,0),color00EA8C; STICKLINE(MY>0 AND MY<REF(MY,1),MY*0.4,0,4,0),color02FF9A; STICKLINE(MY>0 AND MY<REF(MY,1),MY*0.3,0,4,0),color00F9F9; STICKLINE(MY>0 AND MY<REF(MY,1),MY*0.2,0,4,0),color37FFFF; STICKLINE(MY>0 AND MY<REF(MY,1),MY*0.1,0,4,0),color6FFFFF; STICKLINE(MY>0 AND MY>=REF(MY,1),MY,0,4,0),color6000BF; STICKLINE(MY>0 AND MY>=REF(MY,1),MY*0.9,0,4,0),color6C00D9; STICKLINE(MY>0 AND MY>=REF(MY,1),MY*0.8,0,4,0),color7800F0; STICKLINE(MY>0 AND MY>=REF(MY,1),MY*0.7,0,4,0),color8000FF; STICKLINE(MY>0 AND MY>=REF(MY,1),MY*0.6,0,4,0),color9A35FF; STICKLINE(MY>0 AND MY>=REF(MY,1),MY*0.5,0,4,0),colorAF60FF; STICKLINE(MY>0 AND MY>=REF(MY,1),MY*0.4,0,4,0),colorBC79FF; STICKLINE(MY>0 AND MY>=REF(MY,1),MY*0.3,0,4,0),colorCA95FF; STICKLINE(MY>0 AND MY>=REF(MY,1),MY*0.3,0,4,0),colorD5AAFF; STICKLINE(MY>0 AND MY>=REF(MY,1),MY*0.2,0,4,0),colorE0C1FF; STICKLINE(MY>0 AND MY>=REF(MY,1),MY*0.1,0,4,0),colorECD9FF; STICKLINE(MY<0 AND MY<REF(MY,1),MY,0,4,0),color009100; STICKLINE(MY<0 AND MY<REF(MY,1),MY*0.9,0,4,0),color00A600; STICKLINE(MY<0 AND MY<REF(MY,1),MY*0.8,0,4,0),color00BB00; STICKLINE(MY<0 AND MY<REF(MY,1),MY*0.7,0,4,0),color00DB00; STICKLINE(MY<0 AND MY<REF(MY,1),MY*0.6,0,4,0),color00EC00; STICKLINE(MY<0 AND MY<REF(MY,1),MY*0.5,0,4,0),color28FF28; STICKLINE(MY<0 AND MY<REF(MY,1),MY*0.4,0,4,0),color53FF53; STICKLINE(MY<0 AND MY<REF(MY,1),MY*0.3,0,4,0),color79FF79; STICKLINE(MY<0 AND MY<REF(MY,1),MY*0.2,0,4,0),color93FF93; STICKLINE(MY<0 AND MY<REF(MY,1),MY*0.1,0,4,0),colorA6FFA6; STICKLINE(MY<0 AND MY>=REF(MY,1),MY,0,4,0),colorAE00AE; STICKLINE(MY<0 AND MY>=REF(MY,1),MY*0.9,0,4,0),colorD200D2; STICKLINE(MY<0 AND MY>=REF(MY,1),MY*0.8,0,4,0),colorE800E8; STICKLINE(MY<0 AND MY>=REF(MY,1),MY*0.7,0,4,0),colorff00ff; STICKLINE(MY<0 AND MY>=REF(MY,1),MY*0.6,0,4,0),colorFF44FF; STICKLINE(MY<0 AND MY>=REF(MY,1),MY*0.5,0,4,0),colorFF77FF; STICKLINE(MY<0 AND MY>=REF(MY,1),MY*0.4,0,4,0),colorFF8EFF; STICKLINE(MY<0 AND MY>=REF(MY,1),MY*0.3,0,4,0),colorFFA6FF; STICKLINE(MY<0 AND MY>=REF(MY,1),MY*0.2,0,4,0),colorFFBFFF; STICKLINE(MY<0 AND MY>=REF(MY,1),MY*0.1,0,4,0),colorFFD0FF; 早上大跌可买,早上大跌不割,早上大涨要卖,下午大涨不追,下午大跌次日买,不涨不跌睡觉:0,coloryellow;
|
阅读:563 评论:0
声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除!
【电脑版】 【回到顶部】