Hi evryone.
This is my first posting.
I would like to use attached indicator(_TRO_BuyZone )
But when trying to compile with PL editor,I get a error message as belows
------ Compiled with error(s): ------
Compile error
errLine 0, errColumn 0, errLineEnd 0, errColumnEnd 0
Is it impsssible to compile with PL editor?
I'm glad for any idea.
COMPILE ERROR
Your problem is the Plot statement in line 505:
Plot1( tBuyZone, "BuyZone", fg1 ) ;
Unlike TS, MC cannot plot text values, but just numbers. The tBuyZone parameter is a Text value, so MC cannot handle it. Comment the line out and it will compile without errors. Of course, you will be missing intended output and will have to find a workaround for that. Possibly by using TEXT objects.
A more user friendly compile error would have been helpful, but this is the issue.
Plot1( tBuyZone, "BuyZone", fg1 ) ;
Unlike TS, MC cannot plot text values, but just numbers. The tBuyZone parameter is a Text value, so MC cannot handle it. Comment the line out and it will compile without errors. Of course, you will be missing intended output and will have to find a workaround for that. Possibly by using TEXT objects.
A more user friendly compile error would have been helpful, but this is the issue.