In another thread which I have been following, people have asked for a dashboard. To this end, I'm throwing into the ring the attached code. I am no MQL expert and I welcome comment and suggestions for improvement.
The code is for an indicator which cycles thru user determined pairs and timeframes looking for conditions. I have attached two indicators.
The first looks for MA crossovers and shows up or down wingding arrows depending on the direction of the crossover.
The second looks for 'pinbar' situations over 1 to n consecutive bars such that, if consecutive bars were merged the result would look like a pinbar. If under EURUSD, H4 a 3 appears it means that if you merge bars 1,2 and 3 on EURUSD,H4 the result would look like a pinbar.
There is no intention to promote a trading system - what has been coded is just by way of example. My idea is to create a template which can be modified to seek out whatever conditions someone might be looking for.
The code is for an indicator which cycles thru user determined pairs and timeframes looking for conditions. I have attached two indicators.
The first looks for MA crossovers and shows up or down wingding arrows depending on the direction of the crossover.
The second looks for 'pinbar' situations over 1 to n consecutive bars such that, if consecutive bars were merged the result would look like a pinbar. If under EURUSD, H4 a 3 appears it means that if you merge bars 1,2 and 3 on EURUSD,H4 the result would look like a pinbar.
There is no intention to promote a trading system - what has been coded is just by way of example. My idea is to create a template which can be modified to seek out whatever conditions someone might be looking for.
Attached File(s)
MAXPanel.mq4
11 KB
|
1,576 downloads
PinbarPanel.mq4
12 KB
|
1,251 downloads