Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple Stop Limit Orders

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Multiple Stop Limit Orders

    else if (isRedCandle && !isLong && !isShort) //Checks to see if candle is bearish and there are no active trades
    {
    candleRange = Math.Abs(currentHigh - currentLow);
    double stopPrice = currentHigh;
    double limitPrice = currentLow;
    double remainingProfitTargetPrice = currentLow - 2 * candleRange;

    // First short stop-limit
    SetProfitTarget("SellMar****rder1", CalculationMode.Price, currentLow - candleRange);
    SetStopLoss("SellMar****rder1", CalculationMode.Price, stopPrice, false);
    EnterShortStopLimit(3, limitPrice, limitPrice, "SellMar****rder1");

    // Second short stop-limit
    SetProfitTarget("SellMar****rder2", CalculationMode.Price, remainingProfitTargetPrice);
    SetStopLoss("SellMar****rder2", CalculationMode.Price, stopPrice, false);
    EnterShortStopLimit(3, 18260, 18260 + 1, "SellMar****rder2");

    }​

    I am trying to place two short stop limit orders here but only one is being placed. My ultimate goal is for there to just be one entry with 6 contracts and have two separate targets of 3 contracts each, however I have not been able to figure that out so this was my next go to method.

Latest Posts

Collapse

Topics Statistics Last Post
Started by Mindset, 04-21-2026, 06:46 AM
0 responses
87 views
0 likes
Last Post Mindset
by Mindset
 
Started by M4ndoo, 04-20-2026, 05:21 PM
0 responses
132 views
0 likes
Last Post M4ndoo
by M4ndoo
 
Started by M4ndoo, 04-19-2026, 05:54 PM
0 responses
65 views
0 likes
Last Post M4ndoo
by M4ndoo
 
Started by cmoran13, 04-16-2026, 01:02 PM
0 responses
118 views
0 likes
Last Post cmoran13  
Started by PaulMohn, 04-10-2026, 11:11 AM
0 responses
67 views
0 likes
Last Post PaulMohn  
Working...
X