Hi guys, thanks for the replies, very helpful.
So if I do use the IF function, and putting in a 1 for true and a 0 for false, does it actually initiate a Buy and Sell order respectively?
Thanks guys. Sorry for not being clearer before, I do know the IF function, but I just don't know how to write if a condition is true "BUY" otherwise "SELL". How do you write buy and sell in the function?
Hi, I have a question about the IF statement.
I want to write an IF statement where if X is true, buy (aka execute condition A), otherwise execute condition B.
What is the correct way to write it?
Thanks a lot!
J