Hi i have an indicator that gives arrows for buying and selling that I'm trying to turn into an EA, i do not have the source code for the indicator so I'm trying to write code that will identify these arrows on the chart but I'm not sure where to start. I know there's plenty of articles on using objects on here but I need help finding one related to my use case , any help will be greatly appreciated thank you
iCustom
CopyBuffer
You don't need the source code of indicator since you can auto trading only by EAs.
iCustom
CopyBuffer
You don't need the source code of indicator since you can auto trading only by EAs.
The indicator doesnt give me any values i can work with ,it just shows up as "beginner(9)" and the only value it has is the price at where the arrow appears.
Not all of buffers are displayed in Data window, but you can get their values.
If arrows are created by objectcreate function, so you will check for any change in objs by OnChartEvent or by change in ObjectsTotal.
Not all of buffers are displayed in Data window, but you can get their values.
If arrows are created by objectcreate function, so you should check for any change in objs by OnChartEvent or by change in ObjectsTotal.
Im really struggling to indentify what objects this indicator creates
It doesn't create any "objects", it draws an arrow on each bar where the value is not equal zero or EMPTY_VALUE and it doesn't need more than a bar number and a price value to draw it exactly there. CopyBuffer is the way to extract values from said buffer.
Omg! Thank you. This solved my issue the values I wanted where being kept in the 2 and third places of the array not the first. The first value is always equal to zero
While the other values are not kept as zero but a weird combination of an integer and changes to the value of a price when the arrow appears
Omg! Thank you. This solved my issue the values I wanted where being kept in the 2 and third places of the array not the first. The first value is always equal to zero
While the other values are not kept as zero but a weird combination of an integer and changes to the value of a price when the arrow appears

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi i have an indicator that gives arrows for buying and selling that I'm trying to turn into an EA, i do not have the source code for the indicator so I'm trying to write code that will identify these arrows on the chart but I'm not sure where to start. I know there's plenty of articles on using objects on here but I need help finding one related to my use case , any help will be greatly appreciated thank you