indiTraders - Forum for the Active Indian Trader  

Go Back   indiTraders - Forum for the Active Indian Trader > Technical > Indicators & Systems

Indicators & Systems Compendium of Code

Reply
 
Bookmark and Share LinkBack Thread Tools Display Modes
  #41 (permalink)  
Old 25-05-2010, 03:11 AM
alex's Avatar
alex alex is offline
indiTraders VIP
 
Join Date: Mar 2009
Location: Pune
Posts: 3,890
Thanks: 13,228
Thanked 11,477 Times in 3,469 Posts
alex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond repute
alex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond repute
Default

Well cant keep my eyes open, see if this idea goes well with your strategy, first make signal for high of the session (SESST) then in new custom indicator use signal statistic indicator under which you can click number of bar since last first signal
__________________
You want to be yourself, idiosyncratic; the collective (school, rules, jobs) wants you generic to the point of castration - Nassim Nicholas Taleb
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to alex For This Useful Post:
  #42 (permalink)  
Old 25-05-2010, 09:23 AM
devdas's Avatar
devdas devdas is online now
Bad-Man
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 3,657
Thanks: 13,091
Thanked 13,446 Times in 3,455 Posts
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
Default

Originally Posted by alex View Post
Well cant keep my eyes open, see if this idea goes well with your strategy, first make signal for high of the session (SESST) then in new custom indicator use signal statistic indicator under which you can click number of bar since last first signal

Let me try what u suggest...
__________________
Harvest The Moon !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to devdas For This Useful Post:
  #43 (permalink)  
Old 25-05-2010, 03:41 PM
devdas's Avatar
devdas devdas is online now
Bad-Man
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 3,657
Thanks: 13,091
Thanked 13,446 Times in 3,455 Posts
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
Default

Tried many times cant get it....no option to choose "Bar Since"....
__________________
Harvest The Moon !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to devdas For This Useful Post:
  #44 (permalink)  
Old 25-05-2010, 03:55 PM
faith's Avatar
faith faith is offline
indiTraders VIP
 
Join Date: Mar 2009
Posts: 771
Thanks: 2,203
Thanked 2,153 Times in 729 Posts
faith has much to be proud offaith has much to be proud offaith has much to be proud offaith has much to be proud offaith has much to be proud offaith has much to be proud offaith has much to be proud offaith has much to be proud offaith has much to be proud offaith has much to be proud offaith has much to be proud offaith has much to be proud offaith has much to be proud of
Default

Originally Posted by devdas View Post
Tried many times cant get it....no option to choose "Bar Since"....

Not using MD any more .Say your buy condition is as follows ,in STAT RTL token preferences put your bar condition .
LO < LO.1 AND CL > CL.1 AND CL < HI AND SET(V#1, HI.1);
CL >= (STAT.1 + 0.5)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #45 (permalink)  
Old 25-05-2010, 05:18 PM
devdas's Avatar
devdas devdas is online now
Bad-Man
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 3,657
Thanks: 13,091
Thanked 13,446 Times in 3,455 Posts
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
Default

Originally Posted by faith View Post
Not using MD any more .Say your buy condition is as follows ,in STAT RTL token preferences put your bar condition .
LO < LO.1 AND CL > CL.1 AND CL < HI AND SET(V#1, HI.1);
CL >= (STAT.1 + 0.5)

Thanx faith, but i dont want any buy/sell condition...i want simply to check at which bar High of day occured in other word Time of High.
__________________
Harvest The Moon !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #46 (permalink)  
Old 25-05-2010, 06:23 PM
devdas's Avatar
devdas devdas is online now
Bad-Man
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 3,657
Thanks: 13,091
Thanked 13,446 Times in 3,455 Posts
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
Default

I think some thing like this may work...but its giving error... some one please cheack...

IF( HI > SESST ) SET ( V#1 , POS);
__________________
Harvest The Moon !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 3 Users Say Thank You to devdas For This Useful Post:
  #47 (permalink)  
Old 02-06-2010, 11:28 PM
alex's Avatar
alex alex is offline
indiTraders VIP
 
Join Date: Mar 2009
Location: Pune
Posts: 3,890
Thanks: 13,228
Thanked 11,477 Times in 3,469 Posts
alex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond repute
alex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond repute
Default

Originally Posted by devdas View Post
I think some thing like this may work...but its giving error... some one please cheack...

IF( HI > SESST ) THEN SET ( V#1 , POS);

"THEN" added in the code, seems typo, but pos not giving desired results, either it will give time from start of the session or bars, not time when condition was true. I dont think MD will give the desired results as i have to work within their limitations of syntax
__________________
You want to be yourself, idiosyncratic; the collective (school, rules, jobs) wants you generic to the point of castration - Nassim Nicholas Taleb
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 2 Users Say Thank You to alex For This Useful Post:
Reply

indiTraders - Forum for the Active Indian Trader > Technical > Indicators & Systems


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 10:21 PM.


iT
indiTraders.com Copyright by vBulletin