仕事が完了した
指定
Requirements Specification
Develop MT5 indicator that looks exactly like default MT5 Ichimoku indicator plus a few changes:
1. Two more indicator lines to display.
- Upper Stop line ( red color - dash ) = Kijun value + ATRCoeff*ATR(ATRStopPeriod)value
- Lower Stop line ( blue color - dash ) = Kijun value – ATRCoeff*ATR(ATRStopPeriod)value
Where,
ATRCoeff – is an extra Indicator parameter (double), ex 0.5 or 1.0. Dafault value for this parameter is 1.0
ATR – is a standard average true range for the “ATRStopPeriod” periods (bars).
ATRStopPeriod - is an extra parameter for this indicator and means number of bars to calculate ATR (default value is 9)
UpperStopLine will be shown if Close[0] < Kijun[0]
LowerStopLine will be shown if Close[0] > Kijun[0]
Both Upper and Lower line is hidden when Close[0]==Kijun[0]
2. In the upper-left corner a text showing difference of (Close[0]-Kijun[0] ) as following:
If (Close[0]-Kijun[0] )>0 then Blue text “Risk=NN pips”
If (Close[0]-Kijun[0] )<0 then Red text “Risk=NN pips”
If (Close[0]-Kijun[0] )==0 then DarkGray text “Risk=0 pips”
Where ,
“NN” equals (Close[0] - Kijun[0]) in pips.
List of parameters of this indicator:
Tenkan Sen (int) (same as in the default Ichimoku MT5 indicator) – default value 9
Kijun Sen (int) (same as in the default Ichimoku MT5 indicator) – default value 26
Senkou Span (int) (same as in the default Ichimoku MT5 indicator) – default value 52
ATRStopPeriod (int) ( new ) – default value 9
ATRCoeff (double) ( new ) – default value 1.0
All lines’ styles and colours must be configurable from the UI.
Please also see attached screen-shot of the indicator with two extra lines how it looks in NinjaTrader (without text displaying risk)
Full source code of this indicator must be provided. Preferably, all newest MT5 features should be utilised.
Use Alpari MT5 demo account version for testing.
P.S. Please let me know if you prefer to communicate in Russian.