Using GRAH and GRAPHONPRICE will help you locate any error:
1
2
3
graphonpricemS2M
graphtlmS2M
graphtsmS2M
as you can see from the attached pics, when your conditions are met trades are opened regularly, otherwise they are not.
So it’s your confitions that are not met.
Check if they are what you want.
In line 238 you use AND, so both conditions must be met, while sometimes only one of them is.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue