在选股时将停牌股和创业板排出在外
在选股时将停牌股和创业板排出在外
编写条件:
编写方法:
网友求助:
求老师帮忙写一个主图中既有薛丝2通道 又有 5 10 20 30 60 120 240 均线的公式 谢谢
解答如下:
//参数(显示(0,2,0)
DRAWGBKLAST(CLOSE>0,STRIP(RGB(90,90,90),RGB(60,60,60),1));
IF 显示=0 OR 显示=1THEN BEGIN
N:=102;M:=7;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:AA*N/100,COLORffff00;
通道2:AA*(200-N)/100,COLOR00ffff;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:(1+M/100)*DD,COLOR009fff;
通道4:(1-M/100)*DD,COLOR0000ff;
END;
STICKLINE(CLOSE>0 ,CLOSE,OPEN,10,0),color000000;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,9,0 ),COLOR999900;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,8,0 ),COLORbbbb00;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,6,0 ),COLORcccc00;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,4,0 ),COLORdddd00;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,2,0 ),COLOReeee00;
STICKLINE(OPEN>CLOSE ,HIGH,LOW,1 ,0 ),COLORffff00;
STICKLINE(CLOSE>=OPEN ,CLOSE,OPEN,9,0) ,COLOR000099;
STICKLINE(CLOSE>=OPEN ,CLOSE,OPEN,8,0) ,COLOR0000bb;
STICKLINE(CLOSE>=OPEN ,CLOSE,OPEN,6,0) ,COLOR0000cc;
STICKLINE(CLOSE>=OPEN ,CLOSE,OPEN,4,0) ,COLOR0000dd;
STICKLINE(CLOSE>=OPEN ,CLOSE,OPEN,2,0) ,COLOR0000ee;
STICKLINE(CLOSE>=OPEN ,HIGH,LOW,1,0 ),COLOR0000FF;
IF 显示=0 OR 显示=2 THEN BEGIN
MA5:MA(C,5),COLORffffff;
MA10:MA(C,10),COLORff00ff;
MA20:MA(C,20),COLOR99ff00;
MA30:MA(C,30),COLOR0055ff;
MA60:MA(C,60),COLOR00ff33;
MA120:MA(C,120),COLOR3399ff;
MA250:MA(C,250),COLORffcc66;
END;
DRAWGBKLAST(CLOSE>0,STRIP(RGB(90,90,90),RGB(60,60,60),1));
IF 显示=0 OR 显示=1THEN BEGIN
N:=102;M:=7;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:AA*N/100,COLORffff00;
通道2:AA*(200-N)/100,COLOR00ffff;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:(1+M/100)*DD,COLOR009fff;
通道4:(1-M/100)*DD,COLOR0000ff;
END;
STICKLINE(CLOSE>0 ,CLOSE,OPEN,10,0),color000000;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,9,0 ),COLOR999900;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,8,0 ),COLORbbbb00;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,6,0 ),COLORcccc00;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,4,0 ),COLORdddd00;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,2,0 ),COLOReeee00;
STICKLINE(OPEN>CLOSE ,HIGH,LOW,1 ,0 ),COLORffff00;
STICKLINE(CLOSE>=OPEN ,CLOSE,OPEN,9,0) ,COLOR000099;
STICKLINE(CLOSE>=OPEN ,CLOSE,OPEN,8,0) ,COLOR0000bb;
STICKLINE(CLOSE>=OPEN ,CLOSE,OPEN,6,0) ,COLOR0000cc;
STICKLINE(CLOSE>=OPEN ,CLOSE,OPEN,4,0) ,COLOR0000dd;
STICKLINE(CLOSE>=OPEN ,CLOSE,OPEN,2,0) ,COLOR0000ee;
STICKLINE(CLOSE>=OPEN ,HIGH,LOW,1,0 ),COLOR0000FF;
IF 显示=0 OR 显示=2 THEN BEGIN
MA5:MA(C,5),COLORffffff;
MA10:MA(C,10),COLORff00ff;
MA20:MA(C,20),COLOR99ff00;
MA30:MA(C,30),COLOR0055ff;
MA60:MA(C,60),COLOR00ff33;
MA120:MA(C,120),COLOR3399ff;
MA250:MA(C,250),COLORffcc66;
END;
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}
【股票资源馆】策略投资破解,图片免费下载,理想股票技术论坛,财经股票论坛,炒股论坛社区,股票软件,股票公式,源码交流,指标公式,炒股书籍,分析家公式网,股旁网,股票配资。
将筹码线指标中主力持仓上穿散户筹码改为选股公式
将筹码线指标中主力持仓上穿散户筹码改为选股公式