做“极品买卖”分时预警公式
2020/2/19 18:34:57
公式编写说明:
请老师做“极品买卖”分时预警公式,谢谢!连续出现9个红柱预警。此前北沙老师做了一个,不能预警,请老师看看怎么回事,谢谢!公式源码:V1:=(C*2+H+L)/4*10; V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5; 主力撤: IF(V4<=0,V4,0),COLORGREEN; 主力进: IF(V4>=0,V4,0); V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8; V6:=EMA(3*V5-2*SMA(V5,18,1),5); V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10; V8:=(INDEXC*2+INDEXH+INDEXL)/4; V9:=EMA(V8,13)-EMA(V8,34); VA:=EMA(V9,3); VB:=(V9-VA)/2; 大盘资金进场: IF(VB>=0,VB,0),COLORYELLOW; 大盘资金撤走: IF(VB<=0,VB,0),COLORRED; V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趋势线: EMA(V11,3); V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100; 准备现金: STICKLINE(趋势线<=13,0,20,5,0),COLORCC9900; AA:=(趋势线<=13) AND FILTER((趋势线<=13),15); DRAWTEXT (AA,30,'准备现金'),COLORCC9900; 买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF; BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ; DRAWTEXT (BB,60,'买入股票'),COLOR0099FF; 见顶清仓: STICKLINE(趋势线>=90 AND V12,0,30,5,0),COLORRED; CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);北沙老师做的分时预警:V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趋势线:=EMA(V11,3); V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100; 见顶清仓:=趋势线>=90 AND V12;EVERY(见顶清仓,9);
公式源码回答:
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:= EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
AA:=趋势线>=90 AND V12;
T:=BARSLAST(CROSS(AA,0.5));
警:COUNT(AA,T)>=9;
投 股票网 www .tou18.cn
股市公式下载推荐