logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
kaushik1  
#1 Posted : Wednesday, November 13, 2013 1:57:45 AM(UTC)
kaushik1

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
henry1224  
#2 Posted : Wednesday, November 13, 2013 6:10:13 AM(UTC)
henry1224

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?
kaushik1  
#3 Posted : Wednesday, November 13, 2013 9:25:00 AM(UTC)
kaushik1

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..
henry1224  
#4 Posted : Wednesday, November 13, 2013 12:11:42 PM(UTC)
henry1224

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?
kaushik1  
#5 Posted : Thursday, November 14, 2013 3:25:11 AM(UTC)
kaushik1

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...
henry1224  
#6 Posted : Thursday, November 14, 2013 6:50:59 AM(UTC)
henry1224

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
MS Support  
#7 Posted : Thursday, November 14, 2013 11:42:48 AM(UTC)
MS Support

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.
kaushik1  
#8 Posted : Thursday, November 14, 2013 9:07:21 PM(UTC)
kaushik1

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...)

  1. How many DOJIs are available on chart.. whare the next day's( second day breakout) closing above the doji's high..??
  2. How many DOJIs are available on chart.. whare the Near day's( third day breakout) closing above the doji's high..???
  3. 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...





MS Support  
#9 Posted : Friday, November 15, 2013 3:28:29 PM(UTC)
MS Support

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.