I should write the word on the chart "TargetProfit" with the value calculated in the target code. For example:
protected override void OnBarUpdate ()
if (Variable0 == 0 & & variable1 == 0)
{
EnterLong (100, "LongBuy");
Draw : (Close [0] +2) (Targetprofit =10 +2) ... how can I do?
Ciao.
Roberto
Comment