Web20 mrt. 2014 · Hello everybody I m wondering how to code "exitlong" or "exitshort" conditions. Below, you can see my extrait of my code (which doesn't work...) // exitlong conditions If (Marketposition = 1) then begin Sell currentbar at entryprice+5 ; end; setstoploss (-5); As soon as a long (buy) position is open (order n1), I would send two … WebMyEntryPrice: Numeric: 0: Initial entry price of the position. MyCommission: Numeric: 0: Commission for this trade. UpColor: Numeric: UpColorDefault: Color for positive position net p/l value. DnColor: Numeric: DownColorDefault: Color for positive negative net p/l value. ColorScheme: Numeric: 1: Set to 0 for no color, 1 for color text, and 2 ...
How to set a dinamic stop loss based on percent - futures io
Web8 aug. 2013 · Today's Posts; Member List; Calendar; Forum; NinjaTrader 7; Strategy Development; If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Web11 apr. 2024 · BUY / SELLSHORT 1 CONTRACT AT MyEntryPrice STOP / LIMIT. ENDIF . robertogozzi. Moderator. Topics: 68. Replies: 14866. Been thanked: 3233 times. 04/11/2024 at 2:49 PM #96106. Sascha. Thanks Roberto. I’m trying to wrap my head around this. If on the 1st 15min bar MyConditions are met (I have 7 conditions), then it will set the ... the voice top 11
Position P/L % (Indicator) - TradeStation
WebmyEntryPrice = MaxList(Open,High[1]); {Check for a gap open} myPosition = 1; end; Notice that we did not instruct TradeStation to issue an order. We are just simply trying to keep track of all trades and we do so by setting our own vari-ables, myEntryPrice and myPosition, accordingly. WebNumber: Name: Default Color: Description: Plot1: Quantity: White: Position quantity. Plot2: MyEntryPrice: White: Position entry price. Plot3: NetPL: White: Position ... the voice top 10 performances 2022