problem with last enrty price

Questions about MultiCharts and user contributed studies.
Posts: 69
Joined: 14 Jun 2007

problem with last enrty price

Postby itai007 » 10 Mar 2008

how can you retrieve the most recent entry price of a multiple entry price strategy ?

If I sell 1100 and 1101 and 1102 my avgprice is 1101 but I need the most recent entry which is 1102?

If I use the the phrase entryprice(0) , MC retrieves the first order in this multiple entry series ...

doesnt it work ?

User avatar
Andrew Kirillov
Posts: 1589
Joined: 28 Jul 2005
Has thanked: 2 times
Been thanked: 31 times

Postby Andrew Kirillov » 10 Mar 2008

It is not supposed to work in pyramiding mode the way you want... We will need to add a new function in the future.

Return to “MultiCharts”