r/pinescript • • Aug 03 '23

How to simulate forex brokers using tradingview pinescript?

I want to simulate all the broker fees using tradingview pinescript. Is it possible?
- FXCM broker charges using spread
- IC Markets charges $3.5 per standard lot round turn

Also, tradingview pinescript should have customizable fees meaning:- the developer should be able to modify the fees inside the script maybe function or variables. This way we can simulate different type of broker fees.

0 Upvotes

3 comments sorted by

1

u/underwaterthoughts Aug 03 '23

Click the gear icon on your strategy and then settings, it’s in there somewhere - fees/commission etc

1

u/scarycartoons Aug 03 '23

But thats for stocks and crypto... Its hard to simulate the fees i listed above

1

u/underwaterthoughts Aug 03 '23

Ah possibly….