编写走平突破公式
编写走平突破公式
编写条件:
编写方法:
网友求助:
VAR1:=(C+H+O+L)/4;
卖出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;
买入:XMA(VAR1,M)*(1-P2/1000),COLORRED,LINETHICK1.9;
幅度:100*(卖出-买入)/买入,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;
STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN;
STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLOR00FFFF;
STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLOR00FFFF;
STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLOR00FFFF;
STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),COLOR00FFFF;
STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLOR00FFFF;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
HP:=HHV(H,9);
LP:=LLV(L,9);
R:=(C-LP)/(HP-LP)*100;
K:=SMA(R,3,1);
D:=SMA(K,3,1);
DRAWICON((CROSS(CCI,-100) OR CROSS(K,D)) AND C<买入,LOW*0.95,5);
DRAWICON((CROSS(-CCI,100) OR CROSS(-K,-D)) AND C>卖出,HIGH*0.95,6);
买入:=XMA(VAR1,M)*(1-P2/1000);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
HP:=HHV(H,9);
LP:=LLV(L,9);
R:=(C-LP)/(HP-LP)*100;
K:=SMA(R,3,1);
D:=SMA(K,3,1);
XG:(CROSS(CCI,-100) OR CROSS(K,D)) AND C<买入;
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}炒股教程
将如下能量公式(付图)改为选股预警公式
将如下能量公式(付图)改为选股预警公式