请老师修改为通达信公式,谢谢。
解决时间 2021-02-27 10:56
- 提问者网友:杀生予夺
- 2021-02-26 20:54
BU:=CROSS(HIGH,SAR(3,1,20));
SEL:=CROSS(SAR(3,1,20),LOW);
VAR1:=LAST(HIGHVAR2:=LAST(LOW>SAR(3,1,20));
DRAWFLAGTEXT(BU,HIGH,'买入');
DRAWFLAGTEXT(SEL,LOW,'卖出');
DRAWTEXT(BU,LOW,'B'),VALIGN0,ALIGN1,COLORYELLOW,LINETHICK2;
DRAWTEXT(SEL,HIGH,'S'),VALIGN2,ALIGN1,COLORGREEN,LINETHICK2;
STICKLINE(LOW>SAR(3,1,20) AND ISDOWN,HIGH,OPEN,0.5,1),COLORRED;
STICKLINE(LOW>SAR(3,1,20) AND ISDOWN,CLOSE,OPEN,7.5,1),COLORRED;
STICKLINE(LOW>SAR(3,1,20) AND ISDOWN,CLOSE,LOW,0.5,1),COLORRED;
STICKLINE(HIGHSTICKLINE(HIGHSTICKLINE(HIGHDRAWFLAGTEXT(HIGH=REF(HIGH,1),HIGH,'明日突破'+FORCAST(SAR(3,1,20),MAX(VAR1,2))+'建议关注');
DRAWFLAGTEXT(HIGHDRAWFLAGTEXT(LOW>SAR(3,1,20) AND LOW<=REF(LOW,1),LOW,'明日跌破'+FORCAST(SAR(3,1,20),MAX(VAR2,2))+'注意止盈');
DRAWFLAGTEXT(LOW>SAR(3,1,20) AND LOW>REF(LOW,1),LOW,'继续持股');
最佳答案
- 五星知识达人网友:第幾種人
- 2021-02-26 21:21
BU:=CROSS(HIGH,SAR(3,1,20));
SEL:=CROSS(SAR(3,1,20),LOW);
VAR1:=BARSLAST(NOT(HIGH
VAR2:=BARSLAST(NOT(LOW>SAR(3,1,20)));
DRAWTEXT(BU,HIGH,'买入');
DRAWTEXT(SEL,LOW,'卖出');
DRAWTEXT(BU,LOW,'B'),COLORYELLOW,LINETHICK2;
DRAWTEXT(SEL,HIGH,'S'),COLORGREEN,LINETHICK2;
STICKLINE(LOW>SAR(3,1,20) AND O>C,HIGH,OPEN,0,0),COLORRED;
STICKLINE(LOW>SAR(3,1,20) AND O>C,CLOSE,OPEN,2.5,1),COLORRED;
STICKLINE(LOW>SAR(3,1,20) AND O>C,CLOSE,LOW,0,0),COLORRED;
STICKLINE(HIGHO,HIGH,CLOSE,0,0),COLORCYAN;
STICKLINE(HIGHO ,CLOSE,OPEN,2.5,1),COLORCYAN;
STICKLINE(HIGHO,OPEN,LOW,0,0),COLORCYAN;
{DRAWTEXT(HIGH=REF(HIGH,1),HIGH,'明日突破'+FORCAST(SAR(3,1,20),MAX(VAR1,2))+'建议关注');
DRAWTEXT(HIGH
DRAWTEXT(LOW>SAR(3,1,20) AND LOW<=REF(LOW,1),LOW,'明日跌破'+FORCAST(SAR(3,1,20),MAX(VAR2,2))+'注意止盈');
DRAWTEXT(LOW>SAR(3,1,20) AND LOW>REF(LOW,1),LOW,'继续持股')};
全部回答
- 1楼网友:枭雄戏美人
- 2021-02-26 22:30
{horiline函数在通达信上没有对应的替代函数,只能用drawline帮你了}
{顶线} a61:=ref(ma(close,5),3)<ref(ma(close,5),2);
a6:=count(a61,3)>=3 and ref(ma(close,5),1)<=ref(ma(close,5),2) and ma(close,5)<ref(ma(close,5),1);
drawline(a6,hhv(high,8),10,10,0),colorred;{画长线} {底线}
a71:=ref(ma(close,5),2)<ref(ma(close,5),3);
a7:=count(a71,3)>=3 and ref(ma(close,5),2)<=ref(ma(close,5),1) and ref(ma(close,5),1)<ma(close,5);
drawline(a7,llv(low,8),10,10,0),color00ff00;{画长线};
我要举报
大家都在看
推荐资讯