log in     sign up for free
 
There are many different classifications of exits other than your initial stop loss. These include exits that produce a loss but reduce your initial risk, exits that maximize profits, and exits that keep you from giving back too much money, and psychological exits.
Van K. Tharp
 
 
Home
systems (285)
 
 
Special offer: buy AmiBroker and EOD+Real-Time Data
Formula Library
 
AmiBroker
MetaTrader
MetaStock
TradeStation
Wealth-Lab
NinjaTrader
 
add your formula
System Library
 
 
Account login
Your email:
Password:
 
Log in
New to s4t? Sign up.
If you forgot your password click here.
Search the Web
 
Custom Search

Point of Balance Oscillator

Formula for: TradeStation

indicator

 

 

Views:  1798

Added: July 19, 2008
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5
This formula has not been rated yet
 

email this link

 
 
Tags: TradeStation, indicator
 


Here's the Easy Language code for my article "From technical terms to technical tools."
--Walter Downs,
Internet: http://cistrader.com
E-mail: knight@cyberspy.com

 

 



Code:

Function Name: FearPobcOsc
Inputs:
Price(Numeric),
Length(Numeric),
Level(Numeric);

Vars:
AvgAvgs(0),
HiPrice(0),
LoPrice(0),
AvgVal(0);

Array: MPAvg[10](0);
AvgAvgs = 0;
MPAvg[1] = MidPoint(Price,Length);
MPAvg[2] = MidPoint(MPAvg[1],Length);
MPAvg[3] = MidPoint(MPAvg[2],Length);
MPAvg[4] = MidPoint(MPAvg[3],Length);
MPAvg[5] = MidPoint(MPAvg[4],Length);
MPAvg[6] = MidPoint(MPAvg[5],Length);
MPAvg[7] = MidPoint(MPAvg[6],Length);
MPAvg[8] = MidPoint(MPAvg[7],Length);
MPAvg[9] = MidPoint(MPAvg[8],Length);
MPAvg[10] = MidPoint(MPAvg[9],Length);
HiPrice = Highest(Price,Level);
LoPrice = Lowest(Price,Level);
For value1 = 1 to Level begin AvgAvgs = AvgAvgs + MPAvg[value1];
End;
AvgVal = AvgAvgs/Level;
IF HiPrice - LoPrice <> 0 Then FearPobcOsc = 100*((Close - AvgVal) /
(HiPrice - LoPrice));





Indicator Name: Point of Balance Close
Inputs:
Price(close),
Len(12),
Level(10);

Vars: PosNeg(0);

If CurrentBar > Len*Level Then
Begin PosNeg = FearPobcOsc(Price,Len,Level);

If PosNeg > 0 Then Plot1(PosNeg,"FearOsc")Else Plot2(PosNeg,"FearOsc");

End;


 





Code to difficult? Find somebody to help you with coding here.

 



Author: Walter Downs
Source: http://www.traders.com

 

View similar (indicator for TradeStation):

MB/ADX EZ Dynamic
Dunn's Noisetest
SMI_TRADE Indicator (Stochastic Momentum Index Trade)
Rainbow Charts
SMI Oscillator
Dunn's Density Indicator
LBR_3/10 Oscillator
Measure Cycle Period
Market Mood Indicator
Support and Resistance Indicator
...
 
 
all formulas for TradeStation
all formulas

 

 

Email to friend

Top

 

     
However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators
and systems are submitted by anonymous users.
Therefore S4T™ does not take any responsibility for it's quality.
If you use any of this information, use it at your own risk. You are responsible for your own trading decisions.
Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade.
In no case will S4T™ be responsible for your trading gains or losses.
PayPalSecure payments by PayPal S4T™ is a part of TAURO EDUCATION NETWORK
 
Privacy note | (c) copyrights systems4trading.com 2006-2009