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
Experts

E-Skoch-Open - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
3104
Rating:
(20)
Published:
2017.03.02 12:11
Updated:
2018.02.15 18:03
E-Skoch-Open.mq5 (25.84 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Author of the idea — Skochauthor of the MQL5 code — barabashkakvn

Opens a SELL position on each bar, if Close of the 1st bar > Close of the 3rd bar. Opens a BUY position on each bar, if Close of the 3rd bar > Close of the 1st bar.

If you want to change the order opening condition, it can be easily done by changing the condition in just one line:

//--- BUY
   if((iClose(3)>iClose(2)) && (iClose(1)<iClose(2)))
.
.
.
//--- SELL
   if((iClose(3)>iClose(2)) && (iClose(2)<iClose(1)))


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

10pipsOnceADayOppositeLastNHourTrend 10pipsOnceADayOppositeLastNHourTrend

10 pips per day opposite to the "yesterday's trend".

SmoothAlgorithms SmoothAlgorithms

A library of averaging algorithms, the algorithms were described in details in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers"

e-Smart_Trailing e-Smart_Trailing

Modification of StopLoss of any positions. Trailing. Trailing.

TriXCandleKeltner TriXCandleKeltner

The TriX indicator in a candlestick form with the Keltner channel calculated relative to TriX averaging.