Registered User Joined: 6/16/2017 Posts: 1
|
hi Bruce
I want to highlight a candle on daily tf if it met this condition
((H-C1)/C1)>0.15
I did it , but i want to highlight only the candle that met the condition as the indicator i made is showing dotson all candles ! and it put dot above candle which met condition.
how can i show a dot on candle that met the condition only !
https://snag.gy/f8NF4b.jpg
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
Try this:
ABS(((H-C1)/C1)>0.15)*H
use regular PCF not % true.
Use price scale.
Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The formula given by diceman should work, but it will also plot dots at zero. You can get around this by using division to create a divide by zero error so the dots don't plot at all.
H / ABS(H > 1.15 * C1)
Or possibly:
IIF(H > 1.15 * C1, H, 1 / 0)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|