category Other  at 06/01/2022

Auto Calculate Lots Size V2



using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;

namespace cAlgo
{
    [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AutoRescale = false, AccessRights = AccessRights.None)]
    public class AutoCalLotsV2sample : Indicator
    {


        public override void Calculate(int index)
        {
            Chart.DrawText("Please download above link", "", index, 0, Color.Beige);
        }
    }
}


yomm0401's avatar
Yo Nam

Joined 11.04.2020

  • Type: paid
  • Language: C#
  • Trading Platform: cTrader Automate
  • Filename: Auto Cal Lots V2 sample.algo
  • Rating: 0
  • Downloads: 2469
Comments
Only logged in users can post a comment
yomm0401's avatar
Yo Nam · 2 years ago

Mr Richard

sorry reply to late.

please make link again.

I can't see now.

AL
alexstoxcom · 2 years ago

Hi, I have bought this Indicator in version 2.1 but profit/loss calculations are strange to me.

See example at link below. Indicator shows

  • Stoploss 1.318,5 pips = 384,61 USD (i.e. 1 PIP = 0,29 USD)
  • Profittarget 1.002,6 pips = 292,46 USD (i.e. 1 PIP = 0,29 USD)

By cTrader and "Create Order" window

  • Stoploss with 1.318,50 pips = 14,24 USD (by 0,01 lot)
  • Profittarget with 1.002,6 pis = 10,83 USD (by 0,01 lot)

http://icmarkets.ctrader.com/c/40Pvn

Can you double check, please?

 

Thanks

 

Richard