Storing Price of Data 2 when last trade was executed

Questions about MultiCharts and user contributed studies.
geoff1983
Posts: 12
Joined: 21 Feb 2016
Has thanked: 2 times

Storing Price of Data 2 when last trade was executed

Postby geoff1983 » 15 Feb 2017

Hi,

I'm trying to store the close of Price2 at the time of the previous trade. I would like to use this as a stop lose for the next trade. Any suggestions?

Thanks,
Geoff

User avatar
bensat
Posts: 331
Joined: 04 Oct 2014
Has thanked: 46 times
Been thanked: 104 times

Re: Storing Price of Data 2 when last trade was executed

Postby bensat » 15 Feb 2017

Have you already tried to code something ? If so please share and we can guide you.

tony
Posts: 420
Joined: 14 Jun 2013
Has thanked: 30 times
Been thanked: 81 times
Contact:

Re: Storing Price of Data 2 when last trade was executed

Postby tony » 15 Feb 2017

If you capture the moment market position changed then you can hold a value. In this case you can hold the value of the close of data2. So it can be done for sure.


Return to “MultiCharts”