indiTraders - Forum for the Active Indian Trader  

Go Back   indiTraders - Forum for the Active Indian Trader > Tools > Software > Amibroker

Reply
 
Bookmark and Share LinkBack Thread Tools Display Modes
  #931 (permalink)  
Old 09-01-2017, 06:53 PM
bbhanushali bbhanushali is offline
Newbie
 
Join Date: Apr 2015
Posts: 5
Thanks: 2
Thanked 14 Times in 5 Posts
bbhanushali is on a distinguished road
Default

Dear Anant Sir,

Edit to my post above:-

1. The horizontal linearray to appear for the signal bars viz: start/circle/Digit4 and Digit7. Currently, I have tried to code only for Digit7 signal or (NR7 bar).

2. Please replace the xH0 and xH1 codes as given below:
xH0 = BarCount-1 - LastValue(PeakBars(Cond1N7,Period,2));
xH1 = BarCount-1 - LastValue(PeakBars(Cond1N7,Period,0));

The above code will give brightgreen horizontal line above high of bar(of course even this is NOT correct since it moves on to many bars and even the highs are changed to next bar highs or low, where as I am looking for it to stop at the high/low of signal bar vertically and horizontally when the next or any consequent bar breaches it on closing basis hourly bar. These lines to appear only when the signals appear). The current code in the afl above is not giving brightgreen horizontal line above the high of bar.

Sorry, for my long and broken post.

Thanks and kind regards,
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 bbhanushali For This Useful Post:
  #932 (permalink)  
Old 09-01-2017, 11:26 PM
uasish's Avatar
uasish uasish is offline
Super Moderator
 
Join Date: Mar 2009
Location: Kolkata,India.
Posts: 7,012
Thanks: 8,136
Thanked 14,097 Times in 4,858 Posts
uasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond repute
uasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond repute
Default

Using Peak or Through are absolutely undesirable because they are hindsight based & evaporate or keeps changing unless one KNOWINGLY uses it, for some other purpose.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 5 Users Say Thank You to uasish For This Useful Post:
  #933 (permalink)  
Old 10-01-2017, 11:29 AM
asnavale asnavale is offline
indiTraders VIP
 
Join Date: Jun 2014
Posts: 302
Thanks: 658
Thanked 913 Times in 295 Posts
asnavale is a glorious beacon of lightasnavale is a glorious beacon of lightasnavale is a glorious beacon of lightasnavale is a glorious beacon of lightasnavale is a glorious beacon of lightasnavale is a glorious beacon of lightasnavale is a glorious beacon of lightasnavale is a glorious beacon of lightasnavale is a glorious beacon of light
Default

Originally Posted by bbhanushali View Post
Dear Anant Sir,

Edit to my post above:-

1. The horizontal linearray to appear for the signal bars viz: start/circle/Digit4 and Digit7. Currently, I have tried to code only for Digit7 signal or (NR7 bar).

2. Please replace the xH0 and xH1 codes as given below:
xH0 = BarCount-1 - LastValue(PeakBars(Cond1N7,Period,2));
xH1 = BarCount-1 - LastValue(PeakBars(Cond1N7,Period,0));

The above code will give brightgreen horizontal line above high of bar(of course even this is NOT correct since it moves on to many bars and even the highs are changed to next bar highs or low, where as I am looking for it to stop at the high/low of signal bar vertically and horizontally when the next or any consequent bar breaches it on closing basis hourly bar. These lines to appear only when the signals appear). The current code in the afl above is not giving brightgreen horizontal line above the high of bar.

Sorry, for my long and broken post.

Thanks and kind regards,



@Bhanu,

I am travelling now and will respond after a couple of days.

-Anant
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 asnavale For This Useful Post:
Reply

indiTraders - Forum for the Active Indian Trader > Tools > Software > Amibroker


Tags
afl, amibroker nifty

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 Off
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 02:43 AM.


vBulletin Copyright by vBulletin

Content Relevant URLs by vBSEO 3.3.2