Техническое задание
Specifications for an Indicator Dashboard
Pair |
D1 |
H4 |
Slope Value H4 |
Buy / Sell D1 |
ADX |
RSI |
WPR |
200 EMA |
H1 Retrace |
|
|
|
|
|
|
|
|
|
|
EURUSD |
Bull |
- |
1.02 |
Buy |
18 |
55 |
-20 |
0.03 |
50 |
GBPUSD |
Bear |
Bull |
0.46 |
- |
56 |
66 |
-10 |
0.06 |
-10 |
USDJPY |
- |
Bear |
-0.12 |
Sell |
45 |
25 |
-30 |
0.01 |
8 |
Etc. |
Etc. |
Etc. |
Etc. |
Etc. |
Etc. |
Etc. |
Etc. |
Etc. |
Etc. |
Column 1: Pair
All 28 major/minor pairs consisting of combinations of the 8 major currencies USD, EUR, GBP, JPY, CAD, CHF, AUD, NZD
Column 2: D1
Based on 3 exponential moving averages (EMA’s) i.e. long term = 200 period, medium term = 50 period and short term = 36 period and Closed Prices and Daily time frame.
When EMA’s are in sequence from highest to lowest as follows 200 > 50 > 36 it should print Bear in red colour.
If EMA’s are in sequence from highest to lowest as follows 36 > 50 > 200 it should print Bull in blue
Any other sequence should be printed with a Dash (-)
Input variables:
3x EMA Periods, Timeframe (change in timeframe may have to change the column header) If this is too much work then forget about Timeframe input. Hard code for D1.
Column 3: H4
Same as column 2 but in this case based on H4 time frame (or selected time frame)
Column 4: Slope Value
This is based on Baluda’s SlopeValues indicator. (I have source code)
Need colour added to different levels > 0.8, > 0.4, Ranging Bullish, Ranging Bearish, - 0.4, -0.8 (same as Baluda indicator)
Input variables:
Timeframe
Column 5: Buy / Sell
This is based on Baluda’s CurrencySlopeStrength indicator. (I have source code)
If base currency is higher that counter currency print Buy.
If base currency is lower that counter currency print Sell.
If difference between currency slope values is less than the “Sensitivity” setting print dash (-)
Input variables:
Time frame, Sensitivity (Minimum difference between slope values)
Column 6: ADX
This is based on the standard Average Direction Movement Index (ADX) indicator.
If ADX lower than “Low Value” print in red.
Input variables:
Time frame, ADX Period, Low Value
Column 7: RSI
This is based in the standard Relative Strength Index (RSI) indicator.
If RSI over ‘high” or under “low” value print value in brown colour
If RSI over ‘extreme high” or under “extreme low” value print in different red colour
Input variables:
Timeframe, Low, high, extreme low, extreme high, RSI period
Column 8: WPR
This one is a bit trickier because it is based on the standard Williams Percent Range (WPR) indicator that feeds it’s data/values into an Exponential Moving Average (EMA) and we are interested in the value of the MA. (Use Close prices)
So, an array will have to be created for the WPR to feed the MA and if it comes to the worst a custom indicator will have to be created which MA values can be used.
If the value is > -20 and < -10 (between -20 and -10) OR < -80 and > -90 (between -80 and – 90) then the result must be printed in brown colour
If the value is below > -10 (above – 10) OR < -90 (below -90) then the result must be printed in red colour
The rest can be printed in black colour.
Input variables:
Timeframe, WPR period, EMA period
Column 9: 200 EMA
This column is based on the slope of the Long term EMA (see column 2 - normally 200 period EMA).
The percentage change from input “number of bars” until previous bar must be calculated as follows:
Difference in value of EMA at previous bar (shift = 1) and bar at shift = “number of bars” / price * 100
(absolute values must be used to overcome minus values)
If value (%) is lower than “low value” print value in red.
Otherwise print in black.
Input variables:
Timeframe, Low value, number of bars
Column 10: H1 Retrace
This column is based on the distance of the price of the currency pair on the H1 timeframe from the period = 36 EMA (also based on the H1 timeframe) in pips (or points /10) calculated as follows:
If H4 bearish (see column 2) then H1 retrace = low price of bar with shift = 1 minus value of 36 EMA (in pips)
If H4 bullish (see column 2) then H1 retrace = value of 36 EMA minus high price of bar with shift = 1 (in pips)
If value is lower than “minimum value” then print value in green.
Input variables:
Minimum value
Column 11: Overall (optional)
If all the signals in the 10 previous columns are favourable then this column should just print a green asterisk.
E.g. D1 and H4 are both bullish/bearish and no brown or red values in the other columns
General:
1. Currency pairs should appear in alphabetical sequence from A to U.
2. Refreshing or updating of values can take place on an hourly basis.
3. It would be good that by clicking on the currency pair (or next to it) it will open that specific chart automatically for inspection.
4. It is also a requirement that this indicator can be used to write an Expert Advisor.