Can someone help me understand what i'm doing wrong. (custom indicator and example project inside)
-
can someone show/teach me how to get this demo project working? Or what i'm doing wrong?
For this example I used a custom indicator: https://www.earnforex.com/metatrader-indicators/linear-regression-channel/
To my knowledge it has buffers so drawing trendlines on them is possible.I made a demo project so you can help me understand how to implement them in my project.
This demo project uses the zigzag indicator to draw different regression channels (one longer then the other) and is forced to use different lengths' and candle ID'sThe project draws the lines perfectly when it is installed on a live chart. however, when the next candle/cycle begins the lines aren't repainted and lose there value. Sometimes they reappear but I cannot see the logic.
By using it this way the regression channel is always repainted in the background and it makes the EA slower due to all the different variables it stores. Can i use the indicator appear/disappear blocks to solve this? if so, How??
I hope someone has the time to teach me how to use this properly. I've looked at allot of topics but so far no luck on something i can us.
Thanks for reading.
-
@rn81 A few previous considerations:
- Sadly, MQ5 is not as reliable in fxDreema as MQ4. Maybe there is a problem in the platform's code, not in your project.
- Working with zigzag is simply terrible. It is not a realiable indocator. Are you completely sure need it.
- Did you check: a) your custom indicator doesn't repaint? and b) is creating the channel without modifying it later? You should try visualize its behavior on 1minute timeframe for some time to be sure.