Need Help with a "top 30% range of Weekly bar[2] if weekly bar [1] is an inside Bar and currant bar last/close is above the open then plot horizontal lines of the high and low of the top 30% range for the next 2 trading days beyond today's current bar thus showing me the range i need to watch.
And opposite if the current last is lower than its open - then showing the bottom 30% range of Bar[2] displayed in a horizontal line beyond the current trading bar. .
I would like the ability to show these weekly range horizontal lines on all time frames - if not to much to ask perhaps have input options to displays ranges for Monthly, Weekly, Daily, Hourly (basically the ability to plot any timeline one desires and plot that selection on all time frames and to choose how many time periods out some one wants to plot the horizontal line..... for example plot lines 2 periods after current bar or 5 periods after current bar.
I have been trading the STRAT and draw my horizontal lines manually. I think this would be a nice feature to have as a visual aid.
I am pasting my horrible attempt at scripting. (to perhaps give you some sort of idea...(yup its brutal...Stop Laughing...lol))
The formulas in the Def lines are what I perform and plot Manually. I do not wish to plot as a moving average that follows price but plot horizontal lines forward of current days trading bar.
FOR THE HIGH PLOT
input aggregationPeriod = AggregationPeriod.DAY;
input length = 1;
input displace = -1;
input showOnlyLastPeriod = no;
input plotforward = 1;
def highP = (high[1]);
def lowP = (high[1] - ((high[1] - low[1]) * .3));
plot newhorizontalLine = highP;
plot newhorizontalLine2 = lowP;
FOR THE LOW PLOT
input aggregationPeriod = AggregationPeriod.DAY;
input length = 1;
input displace = -1;
input showOnlyLastPeriod = no;
input plotforward = 1;
def highP = (low[1] + ((high[1] - low[1]) * .3));
def lowP = (low{1]);
plot newhorizontalLine = highP;
plot newhorizontalLine2 = lowP;
Thank You in Advance......STOP LAUGHING......LOL
And opposite if the current last is lower than its open - then showing the bottom 30% range of Bar[2] displayed in a horizontal line beyond the current trading bar. .
I would like the ability to show these weekly range horizontal lines on all time frames - if not to much to ask perhaps have input options to displays ranges for Monthly, Weekly, Daily, Hourly (basically the ability to plot any timeline one desires and plot that selection on all time frames and to choose how many time periods out some one wants to plot the horizontal line..... for example plot lines 2 periods after current bar or 5 periods after current bar.
I have been trading the STRAT and draw my horizontal lines manually. I think this would be a nice feature to have as a visual aid.
I am pasting my horrible attempt at scripting. (to perhaps give you some sort of idea...(yup its brutal...Stop Laughing...lol))
The formulas in the Def lines are what I perform and plot Manually. I do not wish to plot as a moving average that follows price but plot horizontal lines forward of current days trading bar.
FOR THE HIGH PLOT
input aggregationPeriod = AggregationPeriod.DAY;
input length = 1;
input displace = -1;
input showOnlyLastPeriod = no;
input plotforward = 1;
def highP = (high[1]);
def lowP = (high[1] - ((high[1] - low[1]) * .3));
plot newhorizontalLine = highP;
plot newhorizontalLine2 = lowP;
FOR THE LOW PLOT
input aggregationPeriod = AggregationPeriod.DAY;
input length = 1;
input displace = -1;
input showOnlyLastPeriod = no;
input plotforward = 1;
def highP = (low[1] + ((high[1] - low[1]) * .3));
def lowP = (low{1]);
plot newhorizontalLine = highP;
plot newhorizontalLine2 = lowP;
Thank You in Advance......STOP LAUGHING......LOL