I have created a automated trademanagementsystem that looks to work fine when I backtest, but not live.
To make things simple I have added one order that should be very easy:
I want my system to buy when ask is <= askprice. (askprice is a variable, private double)
// Condition set 1
if (GetCurrentAsk() <= Askprice)
{
EnterLong(100000, "");
Why dosent my system enter 100k long when the price goes under my typed in askprice? And if I type in a value thats higher I thought my system sholuld buy at once but nothing happens..

Comment