how to know filled price?

Questions about MultiCharts and user contributed studies.
turbofib
Posts: 232
Joined: May 11 2013
Has thanked: 76 times
Been thanked: 7 times

Jan 19 2023

the strategy executes at a price of "x" but the order enters at a price "y" due to slippage...is it possible to know the broker's load price via code? what instruction should i use? thank you

User avatar
Kate MultiCharts
Posts: 667
Joined: Oct 21 2020
Has thanked: 13 times
Been thanked: 174 times

Jan 31 2023

Hello turbofib,

In SA mode there's EntryPrice or OpenEntryPrice.
If you don't use the "Allow up to X entry orders in the same direction" option, there's also AvgEntryPrice_at_Broker_for_The_Strategy.

turbofib
Posts: 232
Joined: May 11 2013
Has thanked: 76 times
Been thanked: 7 times

Jan 31 2023

Hi... i.use aa mode