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: bobc
About
User Name: bobc
Groups: Gold User, Member, Platinum User, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Unsure
Statistics
Joined: Thursday, October 7, 2004
Last Visit: Sunday, June 23, 2013 5:16:30 PM
Number of Posts: 3
[0.00% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: custom indicator
Posted: Thursday, May 4, 2006 9:01:14 PM
Bruce: Can you write a custom formula for the following:

ADJHIGH:=If(HIGH<=Ref(CLOSE,-1),Ref(CLOSE,-1),HIGH);



ADJLOW:=If(LOW>=Ref(CLOSE,-1),Ref(CLOSE,-1),LOW);



ADJRANGE:=ADJHIGH-ADJLOW;



DBI:=((CLOSE-ADJLOW)/ADJRANGE)*VOLUME*(CLOSE-ADJLOW);



DSI:=((ADJHIGH-CLOSE)/ADJRANGE)*VOLUME*(ADJHIGH-CLOSE);



OBDI:=DBI-DSI;



Mov(OBDI,20,E)



. It is written in MetaStock Language; but it's all math and shouldn't be too difficult. As for the abbreviations used, they are:



ADJHIGH = ADJUSTED HIGH, ADJLOW = ADJUSTED LOW, ADJRANGE = ADJUSTED RANGE, DBI = DAILY BUYING INTENSITY, DSI = DAILY SELLING INTENSITY, OBDI = ON BALANCE DAILY INTENSITY. Mov is a moving average. Ref refers to the past. Ref(Close,-1) refers to yesterday's close.

Thank you,
Bobc
Topic: custom indicator
Posted: Sunday, April 30, 2006 3:27:57 PM
The following indicator was given to me in Metastock format. Can you convert it into a custom indicator for TC charts?
ADJHIGH:=If(HIGH<=Ref(CLOSE,-1),Ref(CLOSE,-1),HIGH);

ADJLOW:=If(LOW>=Ref(CLOSE,-1),Ref(CLOSE,-1),LOW);

ADJRANGE:=ADJHIGH-ADJLOW;

DBI:=((CLOSE-ADJLOW)/ADJRANGE)*VOLUME*(CLOSE-ADJLOW);

DSI:=((ADJHIGH-CLOSE)/ADJRANGE)*VOLUME*(ADJHIGH-CLOSE);

OBDI:=DBI-DSI;

Mov(OBDI,20,E)

It is written in MetaStock Language; but it's all math and shouldn't be too difficult. As for the abbreviations used, they are:

ADJHIGH = ADJUSTED HIGH, ADJLOW = ADJUSTED LOW, ADJRANGE = ADJUSTED RANGE, DBI = DAILY BUYING INTENSITY, DSI = DAILY SELLING INTENSITY, OBDI = ON BALANCE DAILY INTENSITY. Mov is a moving average. Ref refers to the past. Ref(Close,-1) refers to yesterday's close.

Thank you for your help.
Sir Bob
Topic: formula error
Posted: Tuesday, May 31, 2005 6:42:18 PM
When I create a pfc ABS(C-O)/(H-L)*100 I get an error message. It is a copy of the example given in the training video for candle stick shadow.
Bobc