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 |

Profile: mrzee001
About
User Name: mrzee001
Groups: Gold User, Member, Platinum User, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Gender:
Statistics
Joined: Monday, May 7, 2012
Last Visit: Saturday, June 13, 2015 3:33:12 PM
Number of Posts: 3
[0.00% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: Real code indicator
Posted: Saturday, February 7, 2015 12:55:10 AM

greetings,

I am trying to create an indicater which displays the percentage difference between current intraday volume and the same time stamp average volume for the past n days.

however Instead of a plot, I'm getting a single numerical value at the buttom of the scale section. what am I doing wrong ?

My code:

'# Length = userinput.integer = 5
' length is the number of days i want to look back
 
Dim PV As Single
Dim V As Single
Dim Counter As Long
Dim lastBar As Integer = price.Bar.count - 1
' to display (for example) the indicator for the last 10 days on a 30 minutes chart:
For I As Integer =  lastBar - 130 To lastBar
V = Volume.Value(I): Counter = Nothing
For J As Integer = 1 To Length
Counter = I - (J * 13)
V = V + Volume.Value(Counter)
Next J
PV = V / Length
Plot = counter' 100 * (Volume.value / PV)
Next
 
 
 
Topic: Standard Deviation channel
Posted: Friday, February 6, 2015 11:40:15 AM

thank you

Topic: Standard Deviation channel
Posted: Saturday, January 31, 2015 2:15:00 PM

Is it possible to write an indicator to display A Standard Deviation channel on a price plot to reference it later in a condition overbought,oversold,..