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

Exp_wajdyss_Ichimoku_Candle_MMRec - expert for MetaTrader 5

Views:
3851
Rating:
(10)
Published:
2018.08.23 14:07
\MQL5\Include\ \MQL5\Indicators\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The trading system based on the Wajdyss_Ichimoku_Candle indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system. Trading signals are formed when a bar closes if a trend has changed (which is displayed by candles changing their color).

The block of input EA variables is added for managing volumes of opened positions:

input uint    BuyLossMMTriger=2;  // Number of loss-making Buy trades to decrease MM
input uint    SellLossMMTriger=2; // Number of loss-making Sell trades to decrease MM
input double  SmallMM_=0.01;      // Share of financial resources from the deposit used in a trade in case of losses
input double  MM=0.1;             // Share of financial resources from the deposit used in a trade in case of normal trading
input MarginMode MMMode=LOT;      // Lot size calculation method

In case of such inputs and if the last two trades in one direction were loss-making, the EA opens the next trade in the same direction having the volume of 0.01 lot. If at least one of the two last trades is not loss-making, the position volume is 0.1.

For the generated EA to operate correctly, the compiled wajdyss_Ichimoku_Candle.ex5 indicator file should be in the <terminal_data_directory>\MQL5\Indicators folder.

Default Expert Advisor's input parameters with stops have been used during tests shown below.

Fig. 1. Examples of trades on the chart

Fig. 1. Examples of trades on the chart

Testing results for 2017 on AUDUSD H2:

Fig. 2. Testing results chart

Fig. 2. Testing results chart

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

Exp_Open_Oscillator_Cloud_MMRec Exp_Open_Oscillator_Cloud_MMRec

The trading system based on the Open_Oscillator_Cloud indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

GBP9AM GBP9AM

Working with pending Buy Stop and Sell Stop orders.

Wajdyss_Ichimoku_Candle_Alert Wajdyss_Ichimoku_Candle_Alert

Wajdyss_Ichimoku_Candle indicator provides alerts, sends email and push notifications when the candles break through the Kijun Sen line (candle color changes to the opposite one).

XWAMI XWAMI

Momentum indicator by Anthony W. Warren (WAMI) indicator has the form of a colored cloud and has the ability to change the smoothing algorithm and display a trend direction by color.