I am a fish in writting the strategy script.
I am going to make such a simple strategy firstly, but I still feel it is very difficult for me.
The strategy is:
if MSFT's price hit the trigger (close>open+2), then long IBM 100shares, after that if MSFT's price hit the trigger( close<open-5), close the long position.
Could you supply me with some main script code?
Regards,
Ben
Comment