You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Just get the indicator value using ChartIndicatorGet() and CopyBuffer() and then compare it with your level in the EA.
Until you put it in the oscillator window as above.
now you have me interested, I'll look at it
this what I made last night..something edgy with possible room for improvement. It's an MA that uses dynamic levels
To prove your point, yes it can work with a bit of hacking.
We can use the crosshair tool to find out what value the MA consistently is when it reaches the 80 level and the 20 level (but the caveat is that those values might not be consistent):
I made an indicator and attached it. I'm not sure about accuracy, and not sure why it works when loading the indicator on a chart, but will not show the added MA in the strategy tester
might be a good idea to alter the code to use greater than or equal to:
Just get the indicator value using ChartIndicatorGet() and CopyBuffer() and then compare it with your level in the EA.
Until you put it in the oscillator window as above.
To prove your point, yes it can work with a bit of hacking.
We can use the crosshair tool to find out what value the MA consistently is when it reaches the 80 level and the 20 level (but the caveat is that those values might not be consistent):
I made an indicator and attached it. I'm not sure about accuracy, and not sure why it works when loading the indicator on a chart, but will not show the added MA in the strategy tester
might be a good idea to alter the code to use greater than or equal to: