Hi all, I have just recently started to get interested in automating my strategy, as sometimes its impossible to manually input 10+ order entries when a new bar begins and then manage them. I always write down stocks that meet my criteria throughout the day, and after manually
backtesting every day for the past month has always turned a profit, so I am excited about potentially getting it automated. I dont have any prior programming experience so I thought
Easylanguage would be a good starting point.
Anyways, im trying to write basic strategies to get more comfortable, and what I am currently trying to do is buy/short after an
inside bar. I want to buy at the high of the inside bar + .01 as long as it hasnt traded below the low of the inside bar.
After researching i can only find code similar to:
Buy ("l1") 100 shares next bar at H of data1 + 0.01 stop;
but this doesnt have any criteria that the long position will only be initiated as long as it hasnt traded below the low of the inside bar. Can anyone point me in the right direction?