等级: 新手上路
- 注册:
- 2021-6-9
- 曾用名:
|
EMA13:EMA(C,13),LINETHICK1,COLORYELLOW;
EMA30:EMA(C,40),LINETHICK1,COLORLIGHTBLUE;
EMA60:EMA(C,60),LINETHICK2,COLORRED;
金叉:=CROSS(EMA13,EMA30) ;
死叉:=CROSS(EMA30,EMA13);
AA:=COUNT(金叉,EMA60)>=1;
DRAWTEXT(金叉,EMA13,'买'),FONTSIZE21,VALIGN0;
DRAWTEXT(死叉,EMA13,'卖'),FONTSIZE21;
压力:=MA(REF(HHV(C,30),1),2),COLOR808040,LINETHICK1;
支撑:=MA(REF(LLV(C,30),1),2),COLOR808040,LINETHICK1;
CROSS(EMA13,EMA30),BK;//金叉买入
C<=enterprice-10*MINPRICE OR (BKHIGH>=BKPRICE+30*MINPRICE AND CROSS(EMA30,C)),SP;//固定止损10条价格上涨30跳转为追踪止盈,追踪止盈为收盘价EMA30
CROSS(EMA30,EMA13)&&PANZHENG=0,SK;//死叉卖出
C>=SKPRICE+10*MINPRICE OR (SKLOW<=SKPRICE-30*MINPRICE AND CROSS(C,EMA30)),BP;//固定止损10条价格上涨30跳转为追踪止盈,追踪止盈为收盘价EMA30
AUTOFILTER; |
|