hello. I wonder if I can add to the code that when it receives a buy signal, it should wait and buy on the next 30 minute bar at the previous high – 15 pips which in this case is a card instead of it buying a card at the lowest and vice versa about when the strategy is long
You can modify the buy order type just with this:
– Enter in the next bar open: buy 1 contract at market
– Enter in the next bar if the price is over the stop: buy 1 contract at high stop In this case the trigger is the high
– Enter if the next bar if the prices is below the limit: buy 1 contract at high limit In this case the system will buy only if the price is <= high previous bar.
regards
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