Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Views:
4618
Rating:
votes: 13
Published:
2019.10.20 16:34
Updated:
2019.11.13 22:37
ROC.mq4 (71.25 KB)view

"ROC" EA Trades with "ROC" indicator, has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.

***Include "IncreaseFactor" function if you lose a trade the next lotsize will be increased****


USEMOVETOBREAKEVEN  system functions like a stop loss

But a one-time function with a smaller value than the subsequent  Stop Loss value to lock minimal profit and avoid loss if the price goes against you.

If you have reached a certain value of pips with the direction of the trade -

  • WHENTOMOVETOBE - When to move break even (values: 10-100).

So how many pips would you like to move the stop loss above the price line of the open trade-

  • PIPSTOMOVESL - How much pips to move stop loss (values: 10-100).

Try it on demo first.

This EA trades only with the price of open candle!

If you do not want to trade with increasing lot size when you lose  a trade set:"IncreaseFactor=0"

Inputs

    • Exit=Enable Exit strategy (values:true/false).
    • Period_MA_0=Period of supporting MA for cur. timefr. (values: 1-50).
    • Period_MA_1=Period of calculated MA (values: 1-50).
    • Bars_V=Amount of bars for calc. rate (values: 1-50).
    • K =Amplifier gain (values: 1-20).
    • USEMOVETOBREAKEVEN - Enable "no loss" break even system (values: 0-1).
    • WHENTOMOVETOBE - When to move break even (values: 10-100).
    • PIPSTOMOVESL - How much pips to move stop loss (values: 10-100).
    • Lots - Lots size (values: 0.01-10).
    • IncreaseFactor -how much to increase lots from total margin if you lose a trade (values: 0.001-0.1).
    • TrailingStop-set a value from 10 to 100 to activate trailing stop loss & take profit, "0" will not activate trailing stop loss.
    • Stop_Loss - Stop Loss (values: 10-100).
    • MagicNumber - Magic number (values: 1-100000).
    • TakeProfit - Take Profit (values: 10-100).
    • FastMA - Fast Moving Average (values: 1-20).
    • SlowMA - Slow Moving Average (values: 50-200).
    •  Mom_Sell-Momentum_Sell trigger(values: 0.1-5).
    •  Mom_Buy-Momentum_Buy trigger(values: 0.1-5).

How to perform back test:https://bit.ly/2CD7XWD

ROC

VR Calculate Martingale Lite VR Calculate Martingale Lite

Indicator calculate the average price

Basic expert adviser with trailing stop Basic expert adviser with trailing stop

A basic ea template with trailing stop for further development

Martingale Smart Martingale Smart

The "Martingale Smart" EA trades with 2 strategies , If we lose a trade then the EA will change strategy and take a new trade with a multiplied/increased lot size,

Smart AC Trader Smart AC Trader

The "Smart AC Trader" EA trades with 2 moving averages , If we lose a trade then the EA will take a new trade with the opposite conditions