Login Page - Create Account

Support Board


Date/Time: Thu, 04 Sep 2025 12:27:57 +0000



Post From: Trade List (Points)

[2025-08-28 13:31:46]
Tony - Posts: 619
This is what I am doing, example of ES Mini, round trip commission is $3.81:


  double CostPointValue = 3.81 / 50;
  s_ACSTrade TradeEntry;
  for (int TradingLogIndex {0}; TradingLogIndex<sc.GetTradeListSize(); TradingLogIndex++) {
    sc.GetTradeListEntry(TradingLogIndex, TradeEntry);

    if (TradeEntry.ExitPrice) {
      double NetClosedPoints {TradeEntry.ExitPrice*TradeEntry.TradeType - TradeEntry.EntryPrice*TradeEntry.TradeType - CostPointValue};
      if (NetClosedPoints > 0) {
        TotalWinPoints += NetClosedPoints;
        TotalWinNumber++;
      }
      if (NetClosedPoints < 0) {
        TotalLossPoints += fabs(NetClosedPoints);
        TotalLossNumber++;
      }
    }
  }

I don't do "scale in, scale out", so my situation is quite simple, and I also ignore the position size
Date Time Of Last Edit: 2025-08-28 13:38:11