No log windows ?

Created at 12 Mar 2019, 22:21
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
A.

a.fernandez.martinez

Joined 02.03.2019

No log windows ?
12 Mar 2019, 22:21


Hello,

 

I created a small indicator to test Print(""); :

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

namespace cAlgo
{
    [Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class Momentum : Indicator
    {
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }

        [Output("Main")]
        public IndicatorDataSeries Result { get; set; }


        protected override void Initialize()
        {
            Print("Test");
        }

        public override void Calculate(int index)
        {
            Print("Test");
        }


    }

I added it to EURUSD and I see nothing in the Journal or anywhere else.

Where does the indicator print to ? does it even work ?

 

Thanks.


@a.fernandez.martinez
Replies

a.fernandez.martinez
12 Mar 2019, 22:22 ( Updated at: 21 Dec 2023, 09:21 )


@a.fernandez.martinez

Waxy
13 Mar 2019, 05:44

Hello

As far as I know, this only works inside the Automate Section.


@Waxy

a.fernandez.martinez
13 Mar 2019, 12:16

thanks I'll test it tonight

is there a way to print in an indicator ?


@a.fernandez.martinez