Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Trade Volume Calculation Tool - indicator for MetaTrader 5

Views:
5222
Rating:
(6)
Published:
2024.09.28 13:30
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
This is a tool to calculate the lot size from a risk percentage and stop loss level.

Click on the chart to set a virtual stop loss, and it will calculate the lot size for the risk percentage that is applied.

Choose either buy or sell in the input section whether or not you intend to calculate the risk from the ask (for buy positions) or from the bid (for sell positions).

Obviously - a long stop loss distance on higher timeframes will be more risk because the price is scaled by a larger number points on higher timeframes. 

It should work on all types of securities.

The lot size is a direct calculation of the input risk percentage and the stop loss distance. The figure does not take into account the max tradeable lots on your account (based on your account size and leverage). You should use my max trade volume script if you want to know the upper limit for the lot size you are permitted to trade.

Volume calculation tool


Dashboard Panel for displaying information on the chart Dashboard Panel for displaying information on the chart

This code shows how you can create a dashboard to display all the relevant information on the chart

Position Risk Calculation Tool Position Risk Calculation Tool

An indicator that dynamically calculates risk (in percentages and money) based on the lot size and stop loss

Perfect Seconds Chart Perfect Seconds Chart

Perfect Seconds chart indicator allows you to convert minute candles of live data into seconds. 1. Choose any number of seconds to close a bar with accurate time. 2. This is Live OHLC rates based data, It works even if ticks are not available. 3. No external DLL required, it works smoothly on VPS 4. Fast and optimized code 5. Supports Crypto Pairs such as BInance, Kucoin and all other exchanges where Futures live chart can be converted into seconds easily. 6. Support all type of symbols such as Gold and Forex pairs. 7. Options to delete symbol and rates.

Custom crosshair cursor with synchronization Custom crosshair cursor with synchronization

Synchronized custom crosshair indicator showing price and (server/local) time.