ramphoenix

R-HL-PDW

This script doesn't give buy or sell signals. It gives a reference point to the previous day's high and low as well as the previous week's high/low. This will be helpful for intraday trading decisions.
Note di rilascio: This script doesn't give buy or sell signals.

It gives the following references to make intraday trading decisions,

PDH - Previous day high
PDL - Previous day Low
PWH - Previous week High - Only gets printed when the difference between PWH and PDH is 2%
PWL - Previous week Low - Only gets printed when the difference between PWL and PDL is 2%
PMH - Previous month High - Only gets printed when the difference between PMH and PDH is 4%
PML - Previous month Low - Only gets printed when the difference between PML and PDL is 4%

CWH - Current week High - Only gets printed when the difference between CWH and PDH is 2%
CWL - Current week Low - Only gets printed when the difference between CWL and PDL is 2%
CMH - Current Month High - Only gets printed when the difference between CMH and PDH is 4%
CML - Current Month Low - Only gets printed when the difference between CML and PDL is 4%

Strong Zone or High Probability Zone - This is the zone where multiple high/low matches and painted with a different color and it doesn't mark with any text.
Note di rilascio: plotOnlyToday - If it is true then levels will be plotted for the current day. If not true then levels will be plotted for historical values.
monthlyPercentage - Difference between PDH/L to monthly falls on the percentage value then respective monthly levels get printed
weeklyPercentage - Difference between PDH/L to weekly falls on the percentage value then respective weekly levels get printed
valuetoCalcStrongZone - We can use atr value of the stock but I prefer a constant value if the levels fall within the range then they will be marked as a strong zone.
strongZoneColor - Color for strong zone
sessRange - your trading session timing

Note - this script works well with default values for Indian indices.
Note di rilascio: lookahead_on - Plot will not be printed in future area
Note di rilascio: Corrected few bugs introduced with barmerge.lookahead_on
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Commenti