stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Specific Ichimoku crossing alert
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4967
Page 1 of 1
Author:  thomasmore [ Wed Oct 26, 2016 9:02 am ]
Post subject:  Specific Ichimoku crossing alert

Dear all,
I have been searching but dit not find the following:
An indicator that alerts when the ChikouSpan crosses OUT of the Kumo cloud.
External settings:
SoundAlert (user select)
PopUp Alert (Y/N)
PushAlert(Y/N)

Could someone make this for me please?
Thanks,
Ludo
cross-up.png
cross down.png
Author:  MathiasJ [ Wed Oct 26, 2016 7:17 pm ]
Post subject:  Specific Ichimoku crossing alert

ludowillems » 26 Oct 2016 11:02 wrote:Dear all,
I have been searching but dit not find the following:
An indicator that alerts when the ChikouSpan crosses OUT of the Kumo cloud.
External settings:
SoundAlert (user select)
PopUp Alert (Y/N)
PushAlert(Y/N)

Could someone make this for me please?
Thanks,
Ludo
Hi!
You may explore my EA if you want to.
http://www.stevehopwoodforex.com/phpBB3 ... 93#p145281
I have created an indicator there where you can specify such things.
It is not an indicator but it will tell you when that happens if you configure it right.
The Ichimoku setting is quite advanced because it is actually several indicators in one.
But you can specify most situations.
I may have limited time to guide you but you are welcome to try it.
BR
Mathias
Author:  thomasmore [ Wed Oct 26, 2016 8:41 pm ]
Post subject:  Specific Ichimoku crossing alert

ichimoku-.png
Mathias,
Thanks for your prompt reply. I had a look at the 5.23 version, where I found the ichimoku-settings.
It states a cross of Chikouspan ABOVE Senkouspan A (the upper line of the Kumo cloud), and also ABOVE Senkouspan B (the bottom line of the cloud).
What I am looking for is a cross above A, and a cross BELOW B. (see my previous pics.
(I couldn't find an explanation in the .pdf)
Would it be possible to "cut&paste" only this options in a seperate EA?

Tack så mycket !
Author:  MathiasJ [ Wed Oct 26, 2016 9:07 pm ]
Post subject:  Specific Ichimoku crossing alert

ludowillems » 26 Oct 2016 22:41 wrote:Mathias,
Thanks for your prompt reply. I had a look at the 5.23 version, where I found the ichimoku-settings.
It states a cross of Chikouspan ABOVE Senkouspan A (the upper line of the Kumo cloud), and also ABOVE Senkouspan B (the bottom line of the cloud).
What I am looking for is a cross above A, and a cross BELOW B. (see my previous pics.
(I couldn't find an explanation in the .pdf)
Would it be possible to "cut&paste" only this options in a seperate EA?

Tack så mycket !
Hi!
All indicator settings are based on the buy scenario.
It will automatically reverse it if it is a sell.

Edit: Good that you brought some attention to the Ichimoku indicator so I got a reason to test my code :)
I found a bug in exactly the functionality you are asking for, so it will be updated over the weekend.

BR
Mathias
Author:  gprince66 [ Thu Oct 27, 2016 6:24 am ]
Post subject:  Specific Ichimoku crossing alert

Hi Ludo,

Try this indi out. I cut my mql4 teeth learning to code Ichimoku, this was my first. :clap: It will alert on a Kumo breakout if Chikou is clear... basically on a Chikou cross just like in your pics.

Cheers,

Gary

.
Author:  thomasmore [ Thu Oct 27, 2016 6:55 am ]
Post subject:  Specific Ichimoku crossing alert

gprince66 » 27 Oct 2016, 08:24 wrote:Hi Ludo,

Try this indi out. I cut my mql4 teeth learning to code Ichimoku, this was my first. :clap: It will alert on a Kumo breakout if Chikou is clear... basically on a Chikou cross just like in your pics.

Cheers,

Gary

.
Thanks Gary,
I does exactely what I was looking for! I managed to copy/paste a PushNotification in it also.

Cheers,
Ludo
Author:  SteveHopwood [ Thu Oct 27, 2016 10:05 pm ]
Post subject:  Specific Ichimoku crossing alert

ludowillems » Thu Oct 27, 2016 6:55 am wrote: Thanks Gary,
I does exactly what I was looking for! I managed to copy/paste a PushNotification in it also.

Cheers,
Ludo
Fantastic Ludo. Wonderful to see you lifting the bonnet, getting your coding hands dirty and making a mod that works for you. :clap: :clap: :clap: :clap: :clap: :clap: :clap:

Keep on lifting the bonnet and getting your hands dirty. It is how I started a decade ago.

:xm:
Author:  thomasmore [ Fri Oct 28, 2016 5:50 am ]
Post subject:  Specific Ichimoku crossing alert

SteveHopwood » 28 Oct 2016, 00:05 wrote: Fantastic Ludo. Wonderful to see you lifting the bonnet, getting your coding hands dirty and making a mod that works for you. :clap: :clap: :clap: :clap: :clap: :clap: :clap:

Keep on lifting the bonnet and getting your hands dirty. It is how I started a decade ago.

:xm:
I certainly will ! Thanks for the kind words Steve.
Author:  theforexedge [ Tue Nov 08, 2016 1:20 pm ]
Post subject:  Specific Ichimoku crossing alert

gprince66 » Thu Oct 27, 2016 6:24 am wrote:Hi Ludo,

Try this indi out. I cut my mql4 teeth learning to code Ichimoku, this was my first. :clap: It will alert on a Kumo breakout if Chikou is clear... basically on a Chikou cross just like in your pics.

Cheers,

Gary

.
Gary

Thanks for posting your indicator as it was just what I was looking for after watching some videos about using Kumo Cloud in manual trading.. :good:

Can you let me know how i'd call the indicator using iCustom? just for the Buy / Sell breakouts? as i'd like to try some ideas using Steve shell-code :smile:

Thanks, Jason
Author:  gprince66 [ Tue Nov 08, 2016 5:37 pm ]
Post subject:  Specific Ichimoku crossing alert

Jason,

There is no need to use iCustom, MQL4 has a built in Ichimoku indicator, here is the link... https://docs.mql4.com/indicators/iichimoku

You need to recreate the logic in the EA. Below is a quick example for getting the individual Ichimoku values.
Keep in mind when needing to analyze shifted/future kumo cloud, I beleive the shift needs to be -1 to -26 (Input Kijun). Sprinkle your code with print statements to make sure you are getting the correct values.

I made an Ichimoku function for Steve's shell but can't seem to find it. I'll keep looking.

Gary

Code: Select all

//Ichimoku
input int Tenkan=9;
input int Kijun=26;
input int Senkou=52;

double TenkanSen = iIchimoku(_Symbol, _Period, Tenkan, Kijun, Senkou, MODE_TENKANSEN, 1);
double KijunSen = iIchimoku(_Symbol, _Period, Tenkan, Kijun, Senkou, MODE_KIJUNSEN, 1);
double SenkouSpanA = iIchimoku(_Symbol, _Period, Tenkan, Kijun, Senkou, MODE_SENKOUSPANA, 1);
double SenkouSpanB = iIchimoku(_Symbol, _Period, Tenkan, Kijun, Senkou, MODE_SENKOUSPANB, 1);
double ChikouSpan = iIchimoku(_Symbol, _Period, Tenkan, Kijun, Senkou, MODE_CHIKOUSPAN, 26);
All times are UTC Page 1 of 1