Job finished
Specification
indicator based on ichimoku
The idea:
Create an indicator able to make alerts, send mails based on the indicator ichimoku.
the indicator must run on MT4
it should not work at night. There should be two parameters:
StartHour - the hour to start operation;
EndHour - the hour to end operation.
Add parameters for Enabling notifications:
SendPush - allow sending push notifications
SendEmail - allow sending emails
The indicator must operate on different timeframes that ichimoku indicator uses. By default it will be on M1 and it will be possible to choose another timeframe
The alert or statement will be made only if the following conditions are completed in a situation of purchase:
If the price breaks the cloud all the way up and the candle close over the cloud
If the price breaks the tenkan and kinjun simultaneously and the candle closes above the two
If the price close above the kinjun
If the price close above the cloud
Show on the chart an arrow to show where the alert occur
The alert or stance should be done only if the following conditions are completed in a selling situation:
If the price breaks the cloud all the way down and the candle closes below the cloud
If the price breaks the tenkan and kinjun simultaneously and the candle closes below the two
If the price break and close below the kinjun
If the price is below the cloud
Show on the chart an arrow to show where the alert occur
= sell alert, mail, push notification.
All these parameters should be activable, deactivable and configurable if possible. It sould work with some of the parameters desactivated and it sould work with all the parameters activated with no duplicated alert.
Comment the code in a way that is understandable to facilitate editing.