Sameer Shariff: Playing with swing highs and lows - LL,LL,LL,HL,HL for Swing Low and HH,HH,HH,LH,LH for Swing High. If I drop it on a chart... does what I expected it to do. However, doesn't paint entries in real-time and if I test it through an EA, opens trades at wrong entry points. I suspect the indicator is repainting or perhaps there's some other flaw. How do I change this code so that I get the correct results from an EA reading the indicator values? Code in EA: Any help would be appreciated.
If you need help fixing it, then provide the source code file ".mq4". There is nothing that can be done with an executable ".ex4".
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
Hi
Playing with swing highs and lows - LL,LL,LL,HL,HL for Swing Low and HH,HH,HH,LH,LH for Swing High.
If I drop it on a chart... does what I expected it to do. However, doesn't paint entries in real-time and if I test it through an EA, opens trades at wrong entry points. I suspect the indicator is repainting or perhaps there's some other flaw.
How do I change this code so that I get the correct results from an EA reading the indicator values?
Code in EA:
Any help would be appreciated.
<*.ex* file has been removed>