Wilmington, NC
Posts: 7 since Jan 2022
Thanks Given: 4
Thanks Received: 1
|
That almost worked. It ended up telling me I had to put contracts after "currentcontracts * 0.5" so that it says
if (date = 1170426 and time = 1600) then
Sell from Entry ("Entry1") Currentcontracts * 0.5 Contracts this bar on Close;
Not sure how that exactly makes sense but looks like it is selling half the position at least on the TradeStation charts, so I am guessing it should work the same on Portfolio Maestro since I test all my code on TS charts first anyway.
Thank you for helping to point me in the right direction with all this!
|