% change

Questions about MultiCharts and user contributed studies.
dannyz
Posts: 28
Joined: 26 Oct 2009

% change

Postby dannyz » 23 Nov 2009

I am trying to write a %change alert based on if the change on the day is >0.75 or <-0.75% but i cannot figure out how to specify 0.75

thanks danny z

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Postby TJ » 23 Nov 2009

what have you tried?

dannyz
Posts: 28
Joined: 26 Oct 2009

Postby dannyz » 24 Nov 2009

i have tried modifing the %change idicator and i tried to break it down just to a long indicator as well as taking off the alerts. my goal is for the indicator just to display the percent change just off the day. and what i am most concerned about is knowing if is >0.75 percent in the long situation.

thanks danny z

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Postby TJ » 24 Nov 2009

can't help you if you are not showing what you have done...


from the little you described,
this is nothing more than a basic programming routine.

my suggestion:
start with the basics,
start with the ebooks here:
http://www.tssupport.com/support/tutorials/
Last edited by TJ on 24 Nov 2009, edited 1 time in total.

dannyz
Posts: 28
Joined: 26 Oct 2009

Postby dannyz » 24 Nov 2009

Inputs:
price(open),
Length(0);

variables: var0(0) ;

var0 = 100 * PercentChange ( price, length );

plot1 ( var0, "%change");


thants what i have so far. i have picked up the homestudy for easy language as well as mastering stragegies with easy language.

I am using 0 for length because just want to know the percent change on the day. but if i plot that i just get a line. so i changed it to 1 and it looked like a proper indicator. i wanted to be alerted if the change has been >0.75% but i dont know what value i have to use for 75%?

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Postby TJ » 24 Nov 2009

...

thants what i have so far. i have picked up the homestudy for easy language as well as mastering stragegies with easy language.
...

no sense rushing it.
go through the books chapter by chapter
go through the exercise in each chapter

there is a reason for all the chapters -- to give you all the power of EasyLanguage
there is a reason for all the exercises -- so that you know how to use the power



p.s. I don't know which home study you are referring to,
but the "strategy" book might be too advanced for you at this stage.
check with the ebooks, (they are free)
there is a reference guide that gives you all the detailed explanation, instruction, and examples on how to apply the keywords and functions.

dannyz
Posts: 28
Joined: 26 Oct 2009

Postby dannyz » 24 Nov 2009

its the one they call boot camp sometimes i think and ya i guess i am trying to rush in a bit fast, just get to excited about things. ill continue going through my books

thanks for you help
Danny Z

dannyz
Posts: 28
Joined: 26 Oct 2009

Postby dannyz » 24 Nov 2009

Ok well i have figured out most of want i wanted. but would you happen to know if i wanted the daily percentage change what parameters to input into percentagechange? the parameters are price and lenght?

dannyz
Posts: 28
Joined: 26 Oct 2009

Postby dannyz » 24 Nov 2009

currently i am using

price(close(0) and length (open(d)

would that be correct?

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Postby TJ » 24 Nov 2009

Ok well i have figured out most of want i wanted. but would you happen to know if i wanted the daily percentage change what parameters to input into percentagechange? the parameters are price and lenght?

can't tell you anything with the little information you are providing...

suggestions:
1. finish the book first
2. confer with the reference guide, you must follow the specific instructions in there

dannyz
Posts: 28
Joined: 26 Oct 2009

Postby dannyz » 24 Nov 2009

oops i mean price(close(1)) and length(open(d))

Dug
Posts: 31
Joined: 26 Aug 2009
Location: London

Postby Dug » 25 Nov 2009

possibly use a trend line alert whereby the trendline is drawn + and 0 0.75% above yesterdays close, and if the last crosses the line ALERT.
(i have no idea how to do it though)

dannyz
Posts: 28
Joined: 26 Oct 2009

Postby dannyz » 25 Nov 2009

Alright will give that a try dug
appreciate the response

thanks danny z


Return to “MultiCharts”