Join our fan page
- Views:
- 4867
- Rating:
- Published:
- 2018.04.18 17:14
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator shows the current day of the week as a histogram. The histogram rule matches the numbering of days in the MqlDateTime structure:
struct MqlDateTime { int year; // year int mon; // month int day; // day int hour; // hour int min; // minutes int sec; // seconds int day_of_week; // day of the week (0-Sunday, 1-Monday, ... ,6-Saturday) int day_of_year; // number of a day in the year (1st of January has number 0) };
The "Days of the week" indicator can be applied on the D1 timeframe together with "Volumes" indicator for a visual search of dependencies between days of the week and volumes:
Fig. 1. An example of a combination of "Days of the week" and "Volumes"
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20191
![FarhadCrab1](https://c.mql5.com/i/code/expert.png)
An Expert Advisor based on two iMAs (Moving Average, MA) and one iSAR (Parabolic SAR). Position trailing.
![Cross_Line_Trader](https://c.mql5.com/i/code/expert.png)
The Expert Advisor opens positions when the price crosses line objects.
![Trend RDS](https://c.mql5.com/i/code/expert.png)
Trend detection based on the last three bars.
![Aeron JJN Scalper EA](https://c.mql5.com/i/code/expert.png)
The Expert Advisor places pending Buy Stop and Sell Stop orders. Includes checks for the minimum distance of orders in points (SYMBOL_TRADE_STOPS_LEVEL).