Rank: Advanced Member
Groups: Registered, Registered Users Joined: 4/11/2012(UTC) Posts: 45
|
Dear Friends..
I want to create an expert commentary. where I am looking to Count a Number of DOJIs has been formed on charts......
Kindly please help me ...ASAP
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 2 time(s) in 2 post(s)
|
Cum(Doji()) should give you the total amount of doji formed.
Just what are you trying to find?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 4/11/2012(UTC) Posts: 45
|
Thanks Henry for your great Help....
Actually I want to Count the Number of Dojis which are formed above the 50 EMA.....
please help..
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 2 time(s) in 2 post(s)
|
Cum(Doji() and C>Mov(C,50,E))
You still have not explained your use of this experiment?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 4/11/2012(UTC) Posts: 45
|
how to I calculate total available bar on my loaded chart...
I want to mention it in Expart Advisor...
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 2 time(s) in 2 post(s)
|
Use the Writevalue(????,5,1) in the commentary section of the expert
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
kaushik1 wrote:how to I calculate total available bar on my loaded chart...
I want to mention it in Expart Advisor...
Cum(1) should give you the total bars in the chart. A 1 condition means always true, so it basically cumulates every bar in the chart this way.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 4/11/2012(UTC) Posts: 45
|
Thank you. So Much....... I had Set all the formula.. and its work according to my experiment...... As per the given formula I found that.. - There are 107 dojis are available out of 3270 bar available on my chart....which is 28 %
- out
of this 107 dojis, 61 ( 57%) dojis are formed above the 50 EMA ( BULL
TREND ) and 44 (41%) dojis are below 50 EMA ( BEAR TREND ) ..
Now As we Know that every Candle has Require Confirmation for entering in trade..... DOJI also has its Own rules to considered if its reversal or Continuation..... Now I want to set the formula according to below logic....So One more Experiment I am Looking for....which add Impotent inputs on my thought... I want to Find .....( We will talk only for Bull Trend...)
- How many DOJIs are available on chart.. whare the next day's( second day breakout) closing above the doji's high..??
- How many DOJIs are available on chart.. whare the Near day's( third day breakout) closing above the doji's high..???
- How many DOJIs are available on chart.. whare the FAR day's( fourth day breakout) closing above the doji's high..??
I am sure I will get my answer soon .. as I am between the master EXPERTS...
Thank you So much for your Co- operation.....
Looking to hear from you soon...
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
Many functions look backward, so it can be easier to write the formula to look for your first criteria with REF(condition,-n) wrapped around it and then compare the close price to the High value of that doji by matching the Ref of the High to the Ref periods of the Doji:
Ref(Doji(),-1) AND C > Ref(H,-1)
Ref(Doji(),-2) AND C > Ref(H,-2)
Ref(Doji(),-3) AND C > Ref(H,-3)
You can of course wrap a cumulative cum() function around these conditions along with dividing by the total bars formula cum(1) and multiplying by 100 to get your frequency percentage.
Cum(Ref(Doji(),-3) AND C > Ref(H,-3)) / Cum(1) * 100
|
|
|
|
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.