Watch how to download trading robots for free
Find us on Facebook!
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
Libraries

Lot_Volume - library for MetaTrader 4

Views:
9935
Rating:
(8)
Published:
2008.11.21 07:15
Updated:
2014.04.21 14:53
\MQL4\Include\
Lot_Volume.mqh (0.85 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The functuion automatically calculates the lot size from the specified percent of free assets (х%) or uses the fixed lot size ("х" without "%" sign).

We add the function #include <Lot_Volume.mqh> to the program and call it in the necessary place: OrderSend(Symbol, Order Type, Lot_Volume(), Price, 0, Stop, Profit);

If you specify "10%", for example, then the size of the lot will be equal to 10% of free assets, and if you specify just "10" then the size will be equal to 10 lots.

Certainly, the library is not perfect, I wait for your comments.


Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/8556

Normalizer Normalizer

A "cover" for the normalization of the indicator values.

Murrey Math Lines (Support and Resistance) Murrey Math Lines (Support and Resistance)

MM Lines are drawn where support and resistance is.

Pivots_Test Pivots_Test

We place the pending orders at the support and resistance levels.

Smoothed RSI indicator Smoothed RSI indicator

Smoothed RSI indicator with the sound signalling of crossing the level 50.