I have a bespoke indicator that, in theory, produces a signal that I can then utilise within a strategy.
In my indicator I have the following code to create the signal:
************************************
//produces an external signal we can use
private double _percentageMove = 0; //member variable
This then gets a values assigned to it :
_percentageMove = b2t; // value to be sent to external strategy
Where b2t equals a double value eg 23.9, 1.235 etc
I have a Property created :
public double PercentageMove
{
get { Update();
return _percentageMove; }
}
*************************************************
and in the strategy I have some very simple code to print the value out
double bp = Elliot3rdWaveV1005(20,5,10000,20,0,0,0,0).Percenta geMove;
if(bp > 0)
Print("BP = " + bp + " | | " + Time[0]);
else
Print(" BP = " + bp + " | | " + Time[0]);
However the only value I get is zero.
It is as though the indicator is not running and therefore the value never changes, but I can see the indicator behaving as it should.
Any help or thoughts to what I am missing is appreciated as always...
Comment