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 |

Average of this Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
stockhunter
Posted : Saturday, September 6, 2008 11:47:40 AM
Registered User
Joined: 10/7/2004
Posts: 35
Can't seem to figure out how to get an average of this . (C - O) / (H - L)
Keep getting an AvgError ! thx
diceman
Posted : Saturday, September 6, 2008 1:15:31 PM
Registered User
Joined: 1/28/2005
Posts: 6,049
You are probably getting a divide by zero error.
 
 
You can try adding a small value to the (H-L)
side so it can never be zero. Like this:
 
 
(C-O)/(H-L+.0001)
 
 
Once you plot as a custom indicator you can select the smoothing
average and type.
 
 
Thanks
diceman
stockhunter
Posted : Saturday, September 6, 2008 6:57:24 PM
Registered User
Joined: 10/7/2004
Posts: 35
Thanks diceman. Got it working . Thanks again
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.