Rejoignez notre page de fans
- Vues:
- 6757
- Note:
- Publié:
- 2019.02.07 09:10
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Expert Advisor Exp_SpearmanRankCorrelation_Histogram with the added option of trading within the weekly range only, the borders of which are specified in the EA's input settings:
input bool TimeTrade=true; //Allow trading by intervals //---- input DAYS_OF_WEEK StartD=ENUM_DAY_OF_WEEK_2; //Trading start (Day of the week) input HOURS StartH=ENUM_HOUR_8; //Trading start (Hour) input MINUTS StartM=ENUM_MINUT_0; //Trading start (Minute) input SECONDS StartS=ENUM_SECOND_0; //Trading start (Second) //---- input DAYS_OF_WEEK EndD=ENUM_DAY_OF_WEEK_5; //Trading end (Day of the week) input HOURS EndH=ENUM_HOUR_20; //Trading end (Hour) input MINUTS EndM=ENUM_MINUT_59; //Trading end (Minute) input SECONDS EndS=ENUM_SECOND_40; //Trading end (Second)
For the generated EA to operate correctly, the compiled SpearmanRankCorrelation_Histogram.ex5 indicator file should be available in the <terminal_data_directory>\MQL5\Indicators folder.
Note that the TradeAlgorithms.mqh library file allows using Expert Advisors with brokers who offer nonzero spread and the option of setting Stop Loss and Take Profit together with position opening.
Default Expert Advisor's input parameters have been used during the tests shown below. Stop Loss and Take Profit have not been used during the tests.
Fig. 1. Sample deals on the chart within the intraweek interval
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/23342

The indicator builds graphical object Fibonacci Levels with many settings at High and Low prices over the period specified in the indicator input parameters

A trading system with a very simple neural network unit. It uses an iMA (Moving Average, MA) on H1, H4, and D1.

A trading system based on custom indicator VHF.

Double smoothed EMA - multi time frame version