A.
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.
Replies
AlgoCorner
13 Mar 2019, 05:44
Hello
As far as I know, this only works inside the Automate Section.
@AlgoCorner
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

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