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

Constituents EA - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
2975
Rating:
(19)
Published:
2018.12.18 19:11
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The author of the ideaScriptor

MQL5 code author: barabashkakvn

The EA waits for a control bar having its open hour equal to Start hour. After that, the search for maximum and minimum prices from the current bar up to the Search depth bar is performed. Depending on Order Type, the EA places either pending Limit orders or pending Stop ones.

You can use trading sessions to select control bar time:


Pending orders can be removed in two cases:

  1. The lifetime has come to an end (ORDER_TIME_DAY is used - the order will be valid only during the current trading day)
  2. Any pending order has been activated - remaining pending orders are removed (the activation event is detected in OnTradeTransaction)


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

InvestorsVsSpeculatorsDelta InvestorsVsSpeculatorsDelta

Investors vs Speculators Delta indicator

MaDev MaDev

Deviation from MA indicator

InvestorsVsSpeculators InvestorsVsSpeculators

InvestorsVsSpeculators indicator

EWO EWO

EWO indicator