Can I use doLong twice in a row without any major problems occuring. This is what I'd like to do.
Open a long position with 100 shares. Once the stock has gone in my favor a 10 cents or so, add 50 shares to the position. Bascially the opposite of scaling out but I wasn't sure if doing multiple doLong's in a row would throw the back tester off.
Normally I do buy/sell buy/sell buy/sell not buy buy buy/sell etc etc etc..
If this will be a problem can anyone suggest a better method.
I figured I'd post before rewriting a bunch of code to find out it doesnt work
Geoff
Open a long position with 100 shares. Once the stock has gone in my favor a 10 cents or so, add 50 shares to the position. Bascially the opposite of scaling out but I wasn't sure if doing multiple doLong's in a row would throw the back tester off.
Normally I do buy/sell buy/sell buy/sell not buy buy buy/sell etc etc etc..
If this will be a problem can anyone suggest a better method.
I figured I'd post before rewriting a bunch of code to find out it doesnt work
Geoff
Comment