Executed trade price store to variable
-
- When a trade is executed how do I find the price at which it was executed?
How do I store that price in a variable?
- When a trade is executed how do I find the price at which it was executed?
-
i think in the pink look trade blocks, there is a way to reference open price. I''ll reply again with a EA that shows it, or will tell you the block.
-
in the condition block, you can select (on trade)Event Data, and subselect "Open Price". I think when you select that, it can only be used in the pink blocks, under the "on trade" tab. I dont think it works on the "On Tick" tab.
-
@vancedavid You can do it this way:

-
Thank you all for your suggestions
Thank you l'andorrà for showing me how to solve the problem.I have tried to figure out what the PINK blocks are used for. They truly are an unknown and a mystery as to how I could use any of them.
Thank you friends,
VanceDavid -
@vancedavid They are the mpst powerful and poorly explained blocks of fxDreema. Don't hesitate to look for more info about them if necessary.