Allow simple math in the quantity parameter

I am using Tradingview to Metatrader 4.

In the webhook I use a dynamic quantity generated by the TW strategy like this
Q={{plot(‘Ideal Amount Long Position’)}}

I would like to be able to edit the quantity by doing a simple arithmetic operation like this:

Q={{plot(“Ideal Amount Long Position”)}}/2

I know I can do this by modifying the EA override, but doing so would change it for all strategies.

Could you please include the ability to do simple arithmetic operations (multiply, add, divide, subtract) also in the webhook quantity parameter?

Thanks

Hello @Walter

Isn’t it possible to modify your specific strategy to multiply, add, divide, or subtract automatically? This is before giving you the final output for Q.

This would be the easiest way.

1 Like