- Katılım
- 23 Eki 2020
- Mesajlar
- 1,828
Hi There, Does anyone know how to make volume indicator with volume such when the closing price higher than yesterday then the color is green. When the closing price is lower than yesterday then the color is red. When today closing price is the same with yesterday and the day before was green it will be green and when the day before is red it has red color. Thank you Minardi Minardi |
|
Volume With Color Red:=If(C<Ref(C,-1) OR (Ref(C,-1)<Ref(C,-2) AND C=Ref(C,-1)),V,0); Green:=If(C>Ref(C,-1) OR (Ref(C,-1)>Ref(C,-2) AND C=Ref(C,-1)),V,0); Red; Green; |
Change the style of each signal to "histogram" and change the colour to match the sihnal name. Roy | |
| |
Source / From: |