Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Trend Indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Brendab180
Posted : Friday, September 1, 2017 10:18:35 PM
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
dhirenshah
Posted : Saturday, September 2, 2017 1:37:43 AM
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 

Brendab180
Posted : Saturday, September 2, 2017 7:12:57 AM
Registered User
Joined: 3/30/2015
Posts: 10

Thanks Dhiren appreicate the help!!

 

Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.