I'm playing around with the scripting and i'm looking for a solution:
I want to devide my account with the current ask price.
my code so far, but I'm not sure what to implement at the //do something part.
{
//Add your custom indicator logic here.
if (GetAccountValue(AccountItem.CashValue) > 25000)
{
//Do SOmething
}
}
}
}
Comment