Rank: Advanced Member
Groups: Registered, Registered Users Joined: 6/6/2005(UTC) Posts: 424 Location: connecticut,USA
|
When I type a base formula for stock screen
If (C>=20,1,0) and if (C<=30,1,0)
Can I write those formula in this way
c>=20 and c<=30
and what a 1,0 in a formula mean? can you explain me widely?
also can I use a semicolen ; for replace word AND between formula? or is there other word to replace AND in a formula writing?
What a "REF" in a function list mean?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
Hey k-
Yes, you can enter you formula with the AND parameter. Something like this:
a:=If(C>=20 AND C<=30 ,1,0);
a;
The ,1 means to return a value of 1 if the exploration meets this criteria
The ,0 means to return a value of 0 if the exploration doesn't meet this criteria
i.e., if ([censored], true, false)
The ref () function allows you to examine a value other than the current value:
a:=C; will return the current close
a:=ref(C,-1) will return the close from 1 period ago
Check out the formula primer. Avail: http://forum.equis.com/download.php?id=127
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 6/6/2005(UTC) Posts: 424 Location: connecticut,USA
|
RSI(Data Array, Periods)
Stoch %k Periods, %k Slowing)
MACD()
I try to create indicator that have currently RSI 75, Stochastic %K Time Period 5, Stochastic %D time Period 3, Stochastic Volume is 86, MACD 9 period exponantial , I want to mix all those 3 indicator into one indicator? is that possible? and if yes how? what is formula for that?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
Well...
Maybe you could look at this and get an idea of what is possible. If the indicator plots 1 then all three of your conditions are met; else it will plot 0.
[code:1:66a50b50a4]{Konrad's Indicator}
ST:=Input("Short term period(s): ",1,100,9);
LT:=Input("Long term period(s): ",1,100,18);
SL:=Input("Signal period(s): ",1,100,36);
if(
RSI(C,ST)>=75 AND
STOCH(5,3)>=86 AND
Mov(C,ST,E) - Mov(C,LT,E) - Mov((Mov(C,ST,E) - Mov(C,LT,E)),SL,E)>0,1,0);0;[/code:1:66a50b50a4]
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
Konrad please start posting in the right forums ... This has nothing to do in General !!! Please [-o<
Now your question is too suggestive ... I would not want to answer it ... And I dont :D
Patrick :mrgreen:
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 6/6/2005(UTC) Posts: 424 Location: connecticut,USA
|
My question is a suggestive? Is that a hard formula to write? I only need little help how to start it I reading a primer formula, but still I dont know how to setup this formula help me out please! :smt100
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
Sorry Misunderstood your question ...
Do this :
RSI(Close,75);
Stoch (5,3);
MACD() ;
Also wathc formula training video number one ;)
Patrick :mrgreen:
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
By the way this is a bad idea ;)
MACD plots from 2 to -2
RSI and stoch plot from 0 to 100 ....
Patrick :mrgreen:
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 6/6/2005(UTC) Posts: 424 Location: connecticut,USA
|
Thanks Patrick, Next time I will post a message in a applicable forum! I listen your formula from listen 1 to 4 but I need go over 10 more time to understand it, but that after read a formula primer
Thanks! :D
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
I figured this one would go pretty quick... gosh, can't a guy even go to the bathroom?! oz_pdt_02u
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 6/6/2005(UTC) Posts: 424 Location: connecticut,USA
|
Patrick how you suggest this formula will look like after adding MACD plots from 2 to -2
RSI and stoch plot from 0 to 100 .... RSI is 80
Can you show me formula, I am brand new to a formula writing! you are expert with that!
Thanks!
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
Sorry no suggestions really ... Maybe create a template with these indicators not a custom indicator ...
Patrick :mrgreen:
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
Look up at my last post KONRAD'S INDICATOR and see if that will help you get started.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 1/19/2005(UTC) Posts: 1,065 Location: Koh Pha-Ngan, Earth
Was thanked: 2 time(s) in 2 post(s)
|
Patrick wrote:Now your question is too suggestive ... I would not want to answer it ... And I dont :D
Go with your initial instinct, I always say... :)
jose '-)
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 6/6/2005(UTC) Posts: 424 Location: connecticut,USA
|
g.stockman your formula look great, I just can't believe that a formula real help in find a bottom and top of securities, I look now for SIRI share, and try the same setup to do this a a bottom of security if you have idea share it, I am gratefull for your time!
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 6/6/2005(UTC) Posts: 424 Location: connecticut,USA
|
g.stockman your formula look great, I just can't believe that a formula real help in find a bottom and top of securities, I look now for SIRI share, and try the same setup to do this at a bottom of security if you have idea share it, I am gratefull for your time!
From November 2003 until today Septeber11,2005 this formula is showing a celing ( top) of security in scale 6-1, 6 good point 1 wrong, but that succesfull, I need to using a system tester! and start to write formula!
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
This might be easier and more to the point...
[code:1:bad4f03b33]{Konrad's Indicator}
if(
RSI(C,9)>=75 AND
STOCH(5,3)>=86 AND
MADC()>Mov(MACD(),9,E),1,0);0;[/code:1:bad4f03b33]
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
:lol: wow I don't know how to read anymore :lol: I need a vacation see ya guys :P Thanks G
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
System Explorer
Column A
RSI(C,9)
Column B
Stoch(5,3)
Column C
MACD()
FILTER
colA >=75 AND
colB >=86 AND
colC > Mov(MACD(),9,E)
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
Keep in mind Konrad that this is just to get you started. You'll have to figure out if it's worth anything or needs any tweaking.
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
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.