Forums › ProRealTime English forum › ProOrder support › Highest high and highest low of previous days and of specific schedules › Reply To: Highest high and highest low of previous days and of specific schedules
11/23/2018 at 9:11 PM
#85611
Hi Vonasi
Please refer to below simple code to know the issue. This code is executed on Proreal time demo platform but nt on real Proreal time platform. All settings are same on both plaatforms.
Could you please advice on solution to be able to execute simililar code in Real time Proreal time platform.
Thanks
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
if time = 210000 then flag = 1 endif IF NOT LongOnMarket AND flag and time = 143000 THEN BUY 10 CONTRACTS AT MARKET ENDIF If LongOnMarket AND time = 203000 THEN SELL AT MARKET ENDIF if time = 203000 then flag = 0 endif |