I am looking for some Tutorial / example of a simple signal to automate trades based on Data2 inputs.
I am no expert but i do get around in coding indicators. I would like to get started on signals.
More explicitly i would like to trade a Future as Open of data1 if it is greater than the Close of Data2 (index) and open the position when index Market Opens.
i wrote this :
Code: Select all
closeCash = Close of data2;
IF time > 0900 AND Open of data1 > closeCash then
print(open of data1,"",closecash);
The code compiles with success, but nothing is printed :/
Can anyone please point out some links to comprehensive resource / Tutorials ?