What does MC use in place of the TS 'At$' ?

Questions about MultiCharts and user contributed studies.
AdrianP
Posts: 46
Joined: 02 Sep 2014
Has thanked: 2 times
Been thanked: 1 time

What does MC use in place of the TS 'At$' ?

Postby AdrianP » 05 Jul 2018

Trying to write some signal code where I want to reference a level that was present when entering the trade.
In TS its easy, just use AT$ instead of 'at'. But that command isn't functional in MC and I can't find any reference on what to do.

Any assistance would be appreciated.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: What does MC use in place of the TS 'At$' ?

Postby Henry MultiСharts » 05 Jul 2018

Hi,

There is no equivalent for this command. You will need to program your own code to store the required price value in a variable and access it when required.

AdrianP
Posts: 46
Joined: 02 Sep 2014
Has thanked: 2 times
Been thanked: 1 time

Re: What does MC use in place of the TS 'At$' ?

Postby AdrianP » 05 Jul 2018

Thanks Henry. Any particular reason this command wasn't included when MC was created and mostly duplicated the TS programming functions?
It clearly saves a LOT of unnecessary coding.


Return to “MultiCharts”