Registered User Joined: 3/30/2015 Posts: 10
|
Hi Bruce I have a trend indicator that shows my green dot when the trend is going up and the formula is :
100/ABS(
(H + L + O + C)/4 > ((XAVGH6 + XAVGL6 + XAVGO6 + XAVGC6)/4)
and (H + L + O + C)/4 > ((XAVGH12 + XAVGL12 + XAVGO12 + XAVGC12)/4)
and (H + L + O + C)/4 > ((XAVGH18 + XAVGL18 + XAVGO18 + XAVGC18)/4)
and (H + L + O + C)/4 > ((XAVGH24 + XAVGL24 + XAVGO24 + XAVGC24)/4)
and (H + L + O + C)/4 > ((XAVGH30 + XAVGL30 + XAVGO30 + XAVGC30)/4))
how could this be written to show a red dot when the trend is going down.
Thanks for all the help you are the best. Have a great weekend.
brenda
|
Registered User Joined: 3/10/2012 Posts: 465
|
Brenda
Please try the following by changing all > signs to < sign
100/ABS( (H + L + O + C)/4 < ((XAVGH6 + XAVGL6 + XAVGO6 + XAVGC6)/4) and (H + L + O + C)/4 < ((XAVGH12 + XAVGL12 + XAVGO12 + XAVGC12)/4) and (H + L + O + C)/4 < ((XAVGH18 + XAVGL18 + XAVGO18 + XAVGC18)/4) and (H + L + O + C)/4 < ((XAVGH24 + XAVGL24 + XAVGO24 + XAVGC24)/4) and (H + L + O + C)/4 < ((XAVGH30 + XAVGL30 + XAVGO30 + XAVGC30)/4))
you can change 100/ABS in beginning of formula to 0/ABS that will plot your dots at bottom of the pane on price scale instead of it being in centre
Hope it helps
Dhiren
|
Registered User Joined: 3/30/2015 Posts: 10
|
Thanks Dhiren appreicate the help!!
|