Lavoro terminato
Specifiche
Hi all,
I am looking for an experienced programmer to create a custom indicator based on a sequence of events.
Basically, I want to look at the day's high and low and see if a range forms within certain hours while respecting another range based on the day's high and low.
See attached photos for visual reference.
Here is what I want from the indicator:
- Indicator name: Asia breakout box
- Show the history of each day with the threshold of 35% from the high and the low.
-Show the history of important time lines for each day with local time (20:00 broker, 00:00 broker, 03:00 broker & 07:00 broker).
-Show history of valid box breakouts.
-Show the history of Entry, target and stop lines of valid boxes.
-Buffers for future use in a EA.
Long setup for a valid breakout box:
- From 20:00 to 00:00. the price remained above the threshold of 35% from the high of the day.
- If the price remained greater than the treshold and the high and low from 20:00 to 00:00 is smaller than 150 points; draw a box of these same points that extends to 07:00.
- Draw the entry line 50 points above the box from 03:00 to 07:00
- Draw the target line 150 points above the entry point from 03:00 to 07:00
- Draw the stop line 75 points below the entry point from 03:00 to 07:00
Short setup for a valid breakout box:
- From 20:00 to 00:00. the price remained below the threshold of 35% from the low of the day.
- If the price remained smaller than the treshold and the high and low from 20:00 to 00:00 is smaller than 150 points; draw a box of these same points that extends to 07:00.
- Draw the entry line 50 points below the box from 03:00 to 07:00
- Draw the target line 150 points below the entry point from 03:00 to 07:00
- Draw the stop line 75 points above the entry point from 03:00 to 07:00
List of variables:
input double threshold= 35; //%
input int maxrange=150; //in points
input int entry= 50; //in points
input int target=150; //in points
input int stop = 75; //in points
input int show_history = 2000; //bars
All the time lines need to be variable.
Thank you!