I want to ask please when working with multiple dataseries in a script strategy if this structure will work
if(Historical)
return:
{
if(BarsInProgress==0)
{
{entry conditions and entry}
}
if(BarsInProgress==1)
{
{exit conditions and exit}
}
}
Is this OK with "{ }" and the other question is if such a structure needs more CPU (I run a lot of forex scripts because of 2 strategies each fx-pair) so this might be important.
And please: WHERE and HOW is to set for script strategies so that when not using "Historical-return" there will not be an immediate entry when enabling and conditions true. Dont remember. Sorry.
Thanks
Tony
Comment