Posted By: Mothership
Doing 2 things at the same time with if function - 12/21/14 17:18
Hey!
What should I type if I want my script to do 2 things if something happens. Say that I want to place 1 long trade and 1 short trade when 2 MAs crosses.
I don't seem to get it to work by typing the following:
If(crossOver(MA1,MA2))
enterLong();
enterShort();
What should I type if I want my script to do 2 things if something happens. Say that I want to place 1 long trade and 1 short trade when 2 MAs crosses.
I don't seem to get it to work by typing the following:
If(crossOver(MA1,MA2))
enterLong();
enterShort();