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
  #1741 (permalink)  
Old 22-08-2016, 03:40 PM
sherbaaz's Avatar
sherbaaz sherbaaz is offline
indiTraders VIP
 
Join Date: May 2010
Posts: 346
Thanks: 158
Thanked 899 Times in 307 Posts
sherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of light
Default

thanks all for the help. a bit more help is needed. when i am plotting the hourly pivots vertical lines are also coming as the day progress i want to remove them and keep only the pivot lines for each hour (past hours pivots also).

kindly help


regds,s
__________________
"It is vain to do with more what can be done with less"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to sherbaaz For This Useful Post:
  #1742 (permalink)  
Old 22-08-2016, 04:38 PM
no1lives4ever no1lives4ever is offline
Newbie
 
Join Date: Jul 2009
Posts: 3,229
Thanks: 18,447
Thanked 5,430 Times in 2,307 Posts
no1lives4ever has a reputation beyond repute
no1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond repute
Default

Originally Posted by sherbaaz View Post
thanks all for the help. a bit more help is needed. when i am plotting the hourly pivots vertical lines are also coming as the day progress i want to remove them and keep only the pivot lines for each hour (past hours pivots also).

kindly help


regds,s

The problem is simple. Bars are aligned as per market open in your amibroker setting, while the afl is breaking along bars that are aligned by the hour.

The solution for this would be a bit tricky. Let me give it some thought and then see.

-- no1lives4ever
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to no1lives4ever For This Useful Post:
  #1743 (permalink)  
Old 22-08-2016, 04:55 PM
no1lives4ever no1lives4ever is offline
Newbie
 
Join Date: Jul 2009
Posts: 3,229
Thanks: 18,447
Thanked 5,430 Times in 2,307 Posts
no1lives4ever has a reputation beyond repute
no1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond reputeno1lives4ever has a reputation beyond repute
Default

Originally Posted by sherbaaz View Post
thanks all for the help. a bit more help is needed. when i am plotting the hourly pivots vertical lines are also coming as the day progress i want to remove them and keep only the pivot lines for each hour (past hours pivots also).

kindly help


regds,s

change the following lines in the code:
Code:
PP =IIf(dwm, Null, PP);
R1= IIf(dwm, Null, R1);
R2= IIf(dwm, Null, R2);
S1= IIf(dwm, Null, S1);
S2= IIf(dwm, Null, S2);
Change to:

Code:
PP =IIf(PP != Ref(PP,-1), Null, PP);
R1= IIf(R1 != Ref(R1,-1), Null, R1);
R2= IIf(R2 != Ref(R2,-1), Null, R2);
S1= IIf(S1 != Ref(S1,-1), Null, S1);
S2= IIf(S2 != Ref(S2,-1), Null, S2);
-- no1lives4ever
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 no1lives4ever For This Useful Post:
  #1744 (permalink)  
Old 22-08-2016, 06:40 PM
sherbaaz's Avatar
sherbaaz sherbaaz is offline
indiTraders VIP
 
Join Date: May 2010
Posts: 346
Thanks: 158
Thanked 899 Times in 307 Posts
sherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of lightsherbaaz is a glorious beacon of light
Default

Originally Posted by no1lives4ever View Post
change the following lines in the code:
Code:
PP =IIf(dwm, Null, PP);
R1= IIf(dwm, Null, R1);
R2= IIf(dwm, Null, R2);
S1= IIf(dwm, Null, S1);
S2= IIf(dwm, Null, S2);
Change to:

Code:
PP =IIf(PP != Ref(PP,-1), Null, PP);
R1= IIf(R1 != Ref(R1,-1), Null, R1);
R2= IIf(R2 != Ref(R2,-1), Null, R2);
S1= IIf(S1 != Ref(S1,-1), Null, S1);
S2= IIf(S2 != Ref(S2,-1), Null, S2);
-- no1lives4ever

thanks a ton! it worked very well.

regds,s
__________________
"It is vain to do with more what can be done with less"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to sherbaaz For This Useful Post:
Reply

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


Tags
afl, amibroker, codes

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 08:25 PM.


vBulletin Copyright by vBulletin

Content Relevant URLs by vBSEO 3.3.2