文华指标改为通达信指标? 5
P:=21;CURRBARSCOUNT:=DATACOUNT-BARPOS;WH1:=IF(L=LLV(L,P),L,NULL);WH2:=REFX1(BARSLAST(...
P:=21;
CURRBARSCOUNT:=DATACOUNT-BARPOS;
WH1:=IF(L=LLV(L,P),L,NULL);
WH2:=REFX1(BARSLAST(ISNULL(WH1)=0),10000);
WH3:=REFX1(IF(WH2=0,H,REF(H,WH2)),10000);
WH4:=REFX1(REF(BARSLAST(H>WH3),WH2+1)+WH2+1,10000);
WH5:=REFX1(IF(WH4=0,H,REF(H,WH4)),10000);
WH6:=REFX1(REF(BARSLAST(H>WH5),WH4+1)+WH4+1,10000);
买:IF(CURRBARSCOUNT<=WH2+21,REFX1(IF(WH6=0,H,REF(H,WH6)),10000),NULL),COLORRED;
//DRAWTEXT(CURRBARSCOUNT=INTPART((WH2+21)*0.618),买,'B'),COLORRED;
H1:=IF(H=HHV(H,P),H,NULL);
H2:=REFX1(BARSLAST(ISNULL(H1)=0),10000),NODRAW;
H3:=REFX1(IF(H2=0,L,REF(L,H2)),10000);
H4:=REFX1(REF(BARSLAST(L<H3),H2+1)+H2+1,10000),NODRAW;
H5:=REFX1(IF(H4=0,L,REF(L,H4)),10000);
H6:=REFX1(REF(BARSLAST(L<H5),H4+1)+H4+1,10000);
卖:IF(CURRBARSCOUNT<=H2+21,REFX1(IF(H6=0,L,REF(L,H6)),10000),NULL),COLORGREEN;
//DRAWTEXT(CURRBARSCOUNT=INTPART((H2+21)*0.618),卖,'S'),COLORGREEN;
LL:CROSS(BACKSET(ISLASTBAR,BARSLAST (L=LLV(L,P))+1),0.5),NODRAW;
HH:CROSS(BACKSET(ISLASTBAR,BARSLAST (H=HHV(H,P))+1),0.5),NODRAW;
DRAWICON(LL,L,'ICO12'),VALIGN0;
DRAWICON(HH,H,'ICO12'); 展开
CURRBARSCOUNT:=DATACOUNT-BARPOS;
WH1:=IF(L=LLV(L,P),L,NULL);
WH2:=REFX1(BARSLAST(ISNULL(WH1)=0),10000);
WH3:=REFX1(IF(WH2=0,H,REF(H,WH2)),10000);
WH4:=REFX1(REF(BARSLAST(H>WH3),WH2+1)+WH2+1,10000);
WH5:=REFX1(IF(WH4=0,H,REF(H,WH4)),10000);
WH6:=REFX1(REF(BARSLAST(H>WH5),WH4+1)+WH4+1,10000);
买:IF(CURRBARSCOUNT<=WH2+21,REFX1(IF(WH6=0,H,REF(H,WH6)),10000),NULL),COLORRED;
//DRAWTEXT(CURRBARSCOUNT=INTPART((WH2+21)*0.618),买,'B'),COLORRED;
H1:=IF(H=HHV(H,P),H,NULL);
H2:=REFX1(BARSLAST(ISNULL(H1)=0),10000),NODRAW;
H3:=REFX1(IF(H2=0,L,REF(L,H2)),10000);
H4:=REFX1(REF(BARSLAST(L<H3),H2+1)+H2+1,10000),NODRAW;
H5:=REFX1(IF(H4=0,L,REF(L,H4)),10000);
H6:=REFX1(REF(BARSLAST(L<H5),H4+1)+H4+1,10000);
卖:IF(CURRBARSCOUNT<=H2+21,REFX1(IF(H6=0,L,REF(L,H6)),10000),NULL),COLORGREEN;
//DRAWTEXT(CURRBARSCOUNT=INTPART((H2+21)*0.618),卖,'S'),COLORGREEN;
LL:CROSS(BACKSET(ISLASTBAR,BARSLAST (L=LLV(L,P))+1),0.5),NODRAW;
HH:CROSS(BACKSET(ISLASTBAR,BARSLAST (H=HHV(H,P))+1),0.5),NODRAW;
DRAWICON(LL,L,'ICO12'),VALIGN0;
DRAWICON(HH,H,'ICO12'); 展开
3个回答
2019-11-14
展开全部
这么复杂的指标,你整个5分谁会为了5分花几个小时帮你改啊。换做你。你能干这事吗。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2019-11-14
展开全部
修改这个技术指标,好有技术含量啊,
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询