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

E-Friday - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
2624
Rating:
(12)
Published:
2018.11.20 12:45
E-Friday.mq5 (64.26 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The author of the idea - Scriptor

mq5 code author - barabashkakvn

The EA opens only one position at a time, therefore it is able to work both on hedging and netting accounts. It works on every tick. Trading is completely disabled on Friday.

BUY signal:

Open D1 #1 > Close D1 #1

SELL signal:

Open D1 #1 < Close D1 #1

A position can be opened only if the current hour of the trade server is equal to "Hour of opening a position". This condition imposes a restriction on a timeframe: it should not exceed H1.

If "Use "Position Closing Hour" is "true", position is closed at "Position Closing Hour".

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

Specified_Time_Range_Candles Specified_Time_Range_Candles

Specified time range candles indicator

Extent Extent

Extent indicator

CCI_Bar CCI_Bar

CCI Bar indicator

SpearmanRankCorrelation_Histogram_HTF SpearmanRankCorrelation_Histogram_HTF

SpearmanRankCorrelation_Histogram indicator with the timeframe selection option available in input parameters