♥ 0 |
Hi Pete, Is it possible to add cloud (ie shaded area) between two moving averages per code below? I tried combining them into a single code to have a go at it to no avail. Thank you! Guga ##############input price=close; plot AvgExp = ExpAverage(price[-offset], length); rec line = if IsNaN(AvgExp) then line[1] else AvgExp[offset]; plot priceline=highestAll (if isnan(AvgExp) then line else double.nan); ###############input price=close; plot AvgExp = ExpAverage(price[-offset], length); rec line = if IsNaN(AvgExp) then line[1] else AvgExp[offset]; plot priceline=highestAll (if isnan(AvgExp) then line else double.nan); ##########################
Marked as spam
|
Private answer
The method to add a cloud between to moving averages has already been asked and answered in the forum. I only had to search the term "cloud" to locate this: https://www.hahn-tech.com/ans/how-to-make-a-cloud-from-emas/
Marked as spam
|
Please log in to post questions.