This is closing partial lots BUT...not exactly doing what I expected. Maybe you can see the issue here.
should close 1 lot when there is a BUY and the price goes .00071(just a random number i'm testing on a 1 minute chart)
or close 1 lot when...
I haven't been successful coding it myself...I want ONLY 2 buys(for example) to be placed.
1 with TP and the other without. until SELL condition happens.
THEN close all open buys and place two sells with same details.
Seems like there...
Position opening question for programming..
ALL I want is code for opening a single position ONE Time when
conditions are true for entering. And NOT open any more positions in
1. MA's cross
2. a BUY order is sent