Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 6073
- Rating:
- Published:
- 2020.08.21 13:56
- Updated:
- 2020.08.24 21:21
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
This script calculates required margin to open a trade by examining specified volume.
It also calculates maximum amount of lots that can be traded for given symbol.
PARAMETERS
- Symbol Name: select symbol for calculation. if it is not specified script takes chart symbol as default.
- Volume: specify lots for required margin calculation.
- Order Type: determine order type. results can be changed even a little because of spread.
Example: CADJPY with default parameters
![Adapter - structural design pattern](https://c.mql5.com/i/code/library.png)
Convert the interface of a class into another expected interface; classes with incompatible interfaces can work together
![VR Watch List and Linker Lite MT5](https://c.mql5.com/i/code/expert.png)
Synchronous change of a trading instrument in all charts
![Kamikaze Trading](https://c.mql5.com/i/code/script.png)
This script opens order with maximal amount of volume available.
![SimSim (Simple Simulator v1.0)](https://c.mql5.com/i/code/indicator.png)
Simple Simulator is designed to practice manual trading on historical data.