It’s easy, just count how many times your conditions to open a position is met in a variables ‘opensell’ and ‘openbuy’. Add a conditional request on this variables on your conditions to open trades and reset them on each new day.
the original question was not answered, is it possible to trade in the M30, but use indicator from the H1 or H4?
One way would be for example of course to calculate indicator or oszilator on your own based out of the smaller timeframe, but then once you run out of bars. 🙂
Is there a function or code, like for example MovingAverage(H1, xy, xx,…) or something like this:)
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