Expert Advisor : Close Cross Kijun Sen
When price crosses Kijun Sen the EA will closes all open positions on the chart and
also all open position on charts of the same Symbol. . The EA
will not close open positions on charts of a different Symbol to the active EA. To increase the distance price moves across the Kijun Sen before closing positions change the Points_to_cross parameter from 0 to the required number. See EA Properties Inputs Tab (F7).
Eyeball points (
Ctrl +F → hold down left mouse button and drag across chart): 5 = time displacement, 131 = price displacement in points (13.1 pips), 1.64573 = price GBPUSD.
By default the Close_Marker parameter is set – false. To view, set – true. See EA Properties Inputs Tab (F7).
Default slippage – 3. Adjust as required (F7).
Changed parameters can be saved, named and loaded for re-use from the Save & Load buttons. See EA Properties Inputs Tab (F7 → Inputs Tab → Save, Load Buttons).
Check ! (Ctrl+o → Expert Advisors)
It is advisable to use a Kijun Sen Indicator, as visual aid, in conjunction with the EA.
The user must ensure that the visual Kijun Sen Period and the EA Kijun Sen period are of exact same value.
A set of Kijun Sen Indicators with default periods of 21, 34, 50 and 100 are included in Kijun Zip. See – Download.
Label and Alerts
The EA has two Alert Options – Popup Alert and Push Notifications.
A: Popup Alert
P: Push Notification (iOS and Android)
AP: Popup Alert and Push Notification
xx: No Alerts
Label showing Kijun Sen period – 50 and Alerts A (Popup Alert – true, Push Notification – false)
Push Notification: iOS and Android
Push Notifications are fast, fail safe and easy to set up.
First install MT4 on Mobile Device.
Locate MetaQuotes ID. See – Settings and Messages in MT4 Mobile.
Enter MetaQuotes ID in Client Terminal of MT4 on computer (Tools → Options → Notifications).
Note: The same MetaQuotes ID can be used with multiple Client Terminals (different Brokers).
Click the Test Button.
Open up MT4 Terminal (Ctrl + T) and select the Journal Tab and check under Messages if the the Test was successful.
Check that the test message has been received on the mobile device.
Once a successful Test is obtained Push Notification Alerts can be set in the EA.
Ensure that your mobile device has sound turned on for notifications. If further clarification is required, google and youtube “MT4 push notification.”
To view images of similar Push Notifications as received on iSO and Android devices –
(Scroll down to Push Notification) Here
Problem: No Ticks !
EAs rely on ticks and when markets are closed there are no ticks.
With no ticks Charts will not update to new Inputs.
Solution: Tick Generator – FREE – . Also helps when testing in quiet – tick scarce – markets. HERE Parameters
Popup_Alert – true;
Push_Notification – true;
Kijun_Period – 50;
Slippage – 3;
Show_Font – true;
Font_Color – DodgerBlue;
Font_Size – 11;
Font_Bold – true;
Left_Right – 25;
Up_Down – 200;
Corner – 1;
Close_Marker – false