ExitLong ("X")from entry ("Long") Next Bar AT$ Low - (Pcnt * AvgTrueRange(10)) Stop;
is perfectly compilable in TS2000i.
And it is translated PowerLanguage as follows:
Sell ("X")from entry ("Long") Next Bar AT$ Low - (Pcnt * AvgTrueRange(10)) Stop;
However, I got compiler error for AT$ reserved word.
Is it not supported in MC?
At$ not supporte?
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
Any workaround for AT$?
If At$ is not supported and have no ETA for that, what is the workaround to make such code work in MC?
For exmaple, please tell me how to change the following code without using At$:
ExitLong ("X")from entry ("Long") Next Bar AT$ Low - (Pcnt * AvgTrueRange(10)) Stop;
For exmaple, please tell me how to change the following code without using At$:
ExitLong ("X")from entry ("Long") Next Bar AT$ Low - (Pcnt * AvgTrueRange(10)) Stop;
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007