Search found 1 match

Go to advanced search

by williamblake72
Sat Jan 20, 2024 2:44 pm
Forum: Pine Script Q&A
Topic: Calculate Lowest High / Highest Low on 60 min candles of the last X full trade days with Pine Script v5
Replies: 0
Views: 4804
 
Jump to post

Calculate Lowest High / Highest Low on 60 min candles of the last X full trade days with Pine Script v5

I am learning pine script v5 and i am trying to code an indicator which calculates the lowest high and the highest low among 60 min candles of the last X days of trade. Let's take for instance X=5 (last 5 full trade days) and as assets Crude Oil (having 23 candles in a trade day). The script should:...

Go to advanced search