股价回踩到安全线和成本线选股预警
股价回踩到安全线和成本线选股预警
编写条件:
编写方法:
网友求助:
好!!!
请帮忙编辑通达信〈三点买入〉的预警公式
条件是:在同时买=12和进=6时的柱子出现时预警
源码如下:{三点准买}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MD:(DIF-DEA)*2*50;
STICKLINE(MD>=REF(MD,1) AND MD>0,0,MD,2,0),COLORRED;
STICKLINE(MD<REF(MD,1) AND MD>0,0,MD,2,1),COLORC0C0C0;
STICKLINE(MD>REF(MD,1) AND MD<0,0,MD,2,0),COLORFF8000;
蓝柱:=IF(MD>REF(MD,1) AND MD<0,8,0);
红柱:=IF(MD>=REF(MD,1) AND MD>0,8,0);
操作价: MA((LOW+HIGH+CLOSE)/3,5),LINETHICK0,COLOR4080FF;
买:IF(CROSS(C,操作价) AND 蓝柱 AND REF("KDJ.J",1)<0 AND "KDJ.J">0,12,0),STICK,COLOR00FF00,LINETHICK2;
VAR1:=4*SMA((CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100,5,1),3.2,1);
进: IF(CROSS(C,操作价) AND 蓝柱 AND CROSS(VAR1,8),6,0),COLORFFFFFF,STICK,LINETHICK2;
主升:(CROSS(DIF,DEA) AND CROSS(MD,0) AND CROSS(C,操作价) AND 红柱)*24,COLOR00FFFF,STICK,LINETHICK2;
DEA:=EMA(DIF,9);
MD:=(DIF-DEA)*2*50;
蓝柱:=IF(MD>REF(MD,1)
AND MD<0,8,0);
操作价:=MA((LOW+HIGH+CLOSE)/3,5);
买:=IF(CROSS(C,操作价) AND 蓝柱
AND REF("KDJ.J",1)<0 AND
"KDJ.J">0,12,0);
VAR1:=4*SMA((CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100,5,1),3.2,1);
进:=IF(CROSS(C,操作价)
AND 蓝柱 AND CROSS(VAR1,8),6,0);
XG:买 AND 进;
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}
【股票资源馆】同花顺实时港股破解,同花顺财富主力破解,大智慧财富破解版,通达信财富破解版,通达信专业版破解,通达信研究版破解,通达信超赢版破解,股票公式,股票指标公式,股票公式大全,指南针软件破解,炒股书籍,k线图怎么看,股票k线图,。
将“买”改成选股公式
将“买”改成选股公式