仕事が完了した
指定
Indicator 1 mql5 only
The first is a kind of a market watch. It should calculate a value for selected markets across all timeframes and show the results and show the results in an overview. If a certain option is turned on it shouldn’t show the numbers it should just show a colored square. The color coding should belong to an input value which is called color 1 range, color 2 range, color 3 range, color 4 range. At last the indicator should output all the current values to a text file.
Input parameters:
Markets: all markets that should be scanned
Periods: all timeframes that should be scanned
Colorcoding: on/of
Color 1: the color should be selectable for example: none
Color 2: the color should be selectable for example: lightgrey
Color 3: the color should be selectable for example: orange
Color 4: the color should be selectable for example: red
Color 1 range: range for which color 1 is applicable for example 0-0.25
Color 2 range: range for which color 2 is applicable for example 0.25-0.5
Color 3 range: range for which color 3 is applicable for example 0.5-075
Color 4 range: range for which color4 is applicable for example 0.75-1
Period_atr: period which is used to calculate the atr for example 120
Period_calculation: period which is used in the formula for the hh and ll120
Output_to_text: on/of
Outputfilename: name of the text file which gets generated
Formula: { ln(Highest_High-Lowest_Low) – ln(atr) } / (ln(Period_calculation))
Highest_High: highest high within number of last bars as specified in PERIOD_Calculation
Lowest_Low: lowest low within number of last bars as specified in PERIOD_Calculation
Atr: ATR for the period as specified in Period_atr
Text file output:
Market / Value for Timeframe 1 2 3 4 etc / Last updated
Indicator 2
The second indicator should run on mt4 and mt5 as well.
It should perform a simple calculation (value1) which is the same as above. But it should be shown in a separate subwindow as a linegraph with one line being the calculation of the value and the second is an average of those calculations (value2). Each line should have its own input values regarding color linetype and strength. Also there should be an output function that exports data to a text file.
Input parameters:
Input parameters:
Period_atr: period which is used to calculate the atr for example 120
Period_calculation: period which is used in the formula for the hh and ll120
Period_Average: period which is used to calculate the average of value1
Average_type: type of average calculation which is used to calculate the avg
Output_to_text: on/of
Outputfilename: name of the text file which gets generated+market&timeframe
Color_line1: Specify the line color of value 1
Style_line1: Specify the line style of value 1
Type_line1: Specify the line type of value 1
Color_line2: Specify the line color of value 2
Style_line2: Specify the line style of value 2
Type_line2: Specify the line type of value 2
Formula: { ln(Highest_High-Lowest_Low) – ln(atr) } / (ln(Period_calculation))
Highest_High: highest high within number of last bars as specified in PERIOD_Calculation
Lowest_Low: lowest low within number of last bars as specified in PERIOD_Calculation
Atr: ATR for the period as specified in Period_atr
Text file output:
|
ID |
is an increasing value which rises with each bar that appears and is stored |
|
Symbol |
should state the symbol name |
|
Timeframe |
should state the timeframe |
|
Bar_Open |
Should show the open price of the current Bar |
|
Bar_High |
Should show the high price of the current Bar |
|
Bar_Low |
Should show the low price of the current Bar |
|
Bar_Close |
Should show the close price of the current Bar |
|
Bar_Open_HA |
Should show the open ha price of the current Bar |
|
Bar_High_HA |
Should show the high ha price of the current Bar |
|
Bar_Low_HA |
Should show the low ha price of the current Bar |
|
Bar_Close_HA |
Should show the close ha price of the current Bar |
|
Bar_Volume |
Should show the volume of the current Bar |
|
date/time |
date and time of the bar |
|
time as unix time |
date and time of the bar as unix time |
|
weekday |
weekday of the bar |
|
month |
month of the bar |
|
Value1 |
Value 1 value of the current bar |
|
Value2 (Average) |
Value 2 value of the current bar |
|
|
|