一线到顶:MAX(MA(C,21),MA(C,31)),colorwhite; 锁定筹码疯牛到顶:MAX(EMA(C,89),MAX(EMA(C,50),EMA(C,78))),colorliblue;
牛熊参考:=MAX(MA(C,750),MA(C,250)),colorliblue,linethick2;
STICKLINE( CROSS(牛熊参考,C),牛熊参考,牛熊参考,100,0),colorliblue,linethick2;
STICKLINE( CROSS(C,牛熊参考),牛熊参考,牛熊参考,100,0),coloryellow,linethick2;
趋势线:=EMA(C,21),,colorgreen,linethick1;
角:ATAN((趋势线/REF(趋势线,1)-1)*100)*180/3.1416,nodraw,colorwhite;
上升:=C>趋势线 AND 角>0;
下跌:=C<趋势线 AND 角<0;
盘整:=上升=0 AND 下跌=0;
DRAWTEXT_FIX(ISLASTBAR,0.4,0.2,0,"当前行情 -->"),colorred;
DRAWTEXT_FIX(ISLASTBAR AND 上升,0.47,0.2,0,"当前周期行情处于上升趋势,逢低买进"),colormagenta;
DRAWTEXT_FIX(ISLASTBAR AND 下跌,0.47,0.2,0,"当前周期行情处于下跌趋势,逢高卖出"),colormagenta;
DRAWTEXT_FIX(ISLASTBAR AND 盘整,0.47,0.2,0,"当前周期行情处于盘整状态,高抛低吸"),colormagenta;
STICKLINE(C/REF(C,1)>1.0925 AND C=H,O,C,8,0),colormagenta;
C3:=REF(C,1);//www.fxjgsw.com
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,O,C,8,0),colorgreen;
STICKLINE(跌停,L,H,1,0),colorgreen;
LC := REF(CLOSE,1);
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
STICKLINE(RSI6<20,O,C,8,0),colorblue;
|
