stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Need to help with "tradehour"
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3161
Page 2 of 2
Author:  fxdaytrader [ Mon Sep 23, 2013 6:10 pm ]
Post subject:  Re: Need to help with "tradehour"

ROOI wrote: Yip.Got it to open trades.Works well.The problem is it open a hedge trade every tic for that minute that is "trading hours" are on.So its like a little to many stacked orders.

IS there anyway to change that it executes once per trading interval ?
Now it is doing the following:

When it is inside tradingtime, it will check if there already exists a BUY and a SELL order.
If either not exists, it will open one. So there are never more than one buy and one sell order at the same time opened.

For example: if one buy already opened, it will open just a sell order.
Author:  ROOI [ Tue Sep 24, 2013 5:22 am ]
Post subject:  Re: Need to help with "tradehour"

Thanks you fxdaytrader.Will have a look at it today.

You have been a great help and a gentlemen
All times are UTC Page 2 of 2