My Custom Indicator creates an interger, and displays it on the window using the ObjectSetText function.
It displays it as a graphical object, so I can not call it direcly from the iCustom...... code.
This is how the Indicator...
I have tried to modify the indicator presented in the book.
All I want, is to show an arrow above every Monday, when used on the daily charts.
A very simple code, but it will not indicate anything.
Any help would be greatly...
I am trying to get my EA to read the value of a line drawn by a custom indicator. The indicator has NO buffers, instead it uses Object Create to draw triangular lines. How can I get an EA to read the price value of these drawn...
Thanks to everyone for all your help. Has been fantastic.
When I try to code the result of many custom indicators to an EA, I can never get the EA to recognise EMPTY_VALUE
If I replace EMPLY_VALUE with "zero" in the indicator, it...
I cannot seem to get my head around the actual difference between Return; and Return(0);
I assume they each take me to a differnt point of the program.?
The book does not seem to make it clear for me.
Many thanks guys for all your help
OK. Here is the start of the indicator code.
All I need to do is enter a trade on the same bar as when the arrow first appears
#property indicator_buffers 2
I have coded this Basic EA, which works fine, except fot the second half, which will not close orders, or operate the trailing stop.
I have spent many hours, no Joy. I have exhauste all my knowledge, and am at a total loss.
It all works Ok,...