Edit Your Comment
how to draw an arrow indicator on the chart?
Jun 29, 2015 at 14:54
Membro Desde Jun 28, 2015
3 posts
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 30, 2015 at 13:36
Membro Desde Jun 28, 2015
3 posts
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.
Jun 30, 2015 at 23:32
Membro Desde Sep 05, 2013
49 posts
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

*Uso comercial e spam não serão tolerados, podendo resultar no encerramento da conta.
Dica: Postar uma imagem/URL do YouTube irá incorporá-la automaticamente no seu post!
Dica: Insira o sinal @ para preencher automaticamente um nome de utilizador que participe nesta discussão.