how to draw an arrow indicator on the chart?

Jun 29, 2015 at 14:54
2,443 개의 뷰
4 Replies
Jun 28, 2015 부터 멤버   게시물3
Jun 29, 2015 at 14:54
hi guys, i just turned to calgo from mt4 platform. While recently i wanna to write a little simple arrow indicator just like the "fractal indicator" in mt4/5, which would draw a series of arrows on the chart to show the potential entry points. However there is no such an "arrow type" in the class PlotType in cAlgo.API. How am i going to build such an indicator? i would really appreciate your advice😳.😳😳
Jun 28, 2015 부터 멤버   게시물3
Jun 30, 2015 at 13:36
yourne posted:
hi guys, i just turned to calgo from mt4 platform. While recently i wanna to write a little simple arrow indicator just like the "fractal indicator" in mt4/5, which would draw a series of arrows on the chart to show the potential entry points. However there is no such an "arrow type" in the class PlotType in cAlgo.API. How am i going to build such an indicator? i would really appreciate your advice😳.😳😳


//update in 6.30
well i found that to draw a histogram line in the specific bar on the main chart basically equals drawing an arrow in the same position. but when i add an chart instance, the scale just went extremely wrong, no matter what value i set to the histogram.
Sep 05, 2013 부터 멤버   게시물49
Jun 30, 2015 at 23:32


SetIndexStyle(0,DRAW_ARROW); //,STYLE_SOLID,4);
SetIndexBuffer(0,SigArrow00);
SetIndexStyle(1,DRAW_ARROW); //,STYLE_SOLID,4);
SetIndexBuffer(1,SigArrow10);

the trick is to put a switch in that only shows Arrow on a signal and not every bar.
“Everybody should have a dream. What if that dream comes true?” – Jack Ma
Sep 05, 2013 부터 멤버   게시물49
Jun 30, 2015 at 23:34
unless you have a scale with a zero a histogram takes two buffers
“Everybody should have a dream. What if that dream comes true?” – Jack Ma
Jun 28, 2015 부터 멤버   게시물3
Jul 05, 2015 at 06:37
240Z posted:
unless you have a scale with a zero a histogram takes two buffers

thank you. now i use the point type to do the same thing, not as good as arrows in MT4/5 though.
로그인 / 가입하기 to comment
You must be connected to Myfxbook in order to leave a comment
*상업적 사용 및 스팸은 허용되지 않으며 계정이 해지될 수 있습니다.
팁: 이미지/유튜브 URL을 게시하면 게시물에 자동으로 삽입됩니다!
팁: @기호를 입력하여 이 토론에 참여하는 사용자 이름을 자동으로 완성합니다.