prefilled charts of piviot points - Page 2 - Traders Laboratory
Forum Guidelines | Contact Us
Home

Go Back   Traders Laboratory > General Topics > Beginners Forum

Frequent Questions

Beginners Forum Interested in trading but don't know where to start? Post any questions you may have here.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 09-19-2006, 09:53 PM
ant's Avatar
ant ant is offline
ant has no status.

 
Join Date: Sep 2006
Posts: 293
Thanks: 0
Thanked 3 Times in 1 Post
Re: prefilled charts of piviot points

Let's start with this. Let me know what needs to be changed/added.


Last edited by ant; 10-16-2006 at 09:31 PM.
Reply With Quote
  #12 (permalink)  
Old 09-19-2006, 10:14 PM
Soultrader's Avatar
Soultrader is focusing on discipline.

Trader Specs
 
Join Date: Aug 2006
Location: Tokyo, Japan
Posts: 3,220
Thanks: 163
Thanked 467 Times in 208 Posts
Send a message via Skype™ to Soultrader
Re: prefilled charts of piviot points

Thank you Antonio,

I have to admit, I am loving this I do want to request two minor additions if that is okay.

1. I would like the option of plotting my pivots in solid lines and the midpoints in dotted.
2. I also want a different set of colors for the weekly and monthly pivots apart from the daily pivots.
3. Also is it possible to enable the midpoint for the daily pivots but to disable them for the weekly and monthly? (or perhaps I can duplicate the .eld with a different name and use it seperately for the weekly and monthly?)

You should see me smiling right now Great work!

__________________
James Lee - Founder
Forum Guidelines | Forum Manual | Support Coder | Report a Bug
------------------------------------------------------------------------------------
Empowering traders with knowledge.

Please support TL by visiting our sponsors. Thanks!
Reply With Quote
  #13 (permalink)  
Old 09-19-2006, 10:50 PM
ant's Avatar
ant ant is offline
ant has no status.

 
Join Date: Sep 2006
Posts: 293
Thanks: 0
Thanked 3 Times in 1 Post
Re: prefilled charts of piviot points

Hey James, it's really no big deal. See how this version works out. There are a lot of inputs in this tool, but it beats plotting these pivot points manually. Feel free to suggest any other changes.

EDIT: Alternatively, this tool could have been applied to a chart three times for daily, weekly, and monthly, instead of duplicating the code three times.


Last edited by ant; 10-16-2006 at 09:31 PM.
Reply With Quote
  #14 (permalink)  
Old 09-19-2006, 11:04 PM
Soultrader's Avatar
Soultrader is focusing on discipline.

Trader Specs
 
Join Date: Aug 2006
Location: Tokyo, Japan
Posts: 3,220
Thanks: 163
Thanked 467 Times in 208 Posts
Send a message via Skype™ to Soultrader
Re: prefilled charts of piviot points

This is great Antonio. Just the way I want it

I did notice one error... the midpoint between S2 & S3; R2 & R3, and the S2, R3 seems to be calculated incorrectly?

Could you check to see if there is an error in the formula? All the other pivots seem to be correct. Thank you

__________________
James Lee - Founder
Forum Guidelines | Forum Manual | Support Coder | Report a Bug
------------------------------------------------------------------------------------
Empowering traders with knowledge.

Please support TL by visiting our sponsors. Thanks!
Reply With Quote
  #15 (permalink)  
Old 09-20-2006, 12:52 AM
Soultrader's Avatar
Soultrader is focusing on discipline.

Trader Specs
 
Join Date: Aug 2006
Location: Tokyo, Japan
Posts: 3,220
Thanks: 163
Thanked 467 Times in 208 Posts
Send a message via Skype™ to Soultrader
Re: prefilled charts of piviot points

Hi Antonio,

Went through the EL coding and fixed the formulas up a little bit. The R3 and S3 pivots were a little off on the daily and monthly. The weekly was fine. Thank you very much for this. This is going to save me alot of time from now on.

I want to make a slight tweak to the code. I remember working with EL a few years back.... even bought the EL bootcamp book which ended being sold on ebay 1 month later. I just can not seem to get the hang of coding. I know they call it "Easy Language", but not too easy for me.

The tweak I want is for the lines to extend all the way to the right of my chart. Also, I noticed the lines will plot with the values rounded up. This sort of affects the R3 and S3 pivots by approx 1 point and would like to know if there is anyway to have the lines plotted as it is.

Thank you

PS: posted a new analysis on the market discussion forum using the new coding.

__________________
James Lee - Founder
Forum Guidelines | Forum Manual | Support Coder | Report a Bug
------------------------------------------------------------------------------------
Empowering traders with knowledge.

Please support TL by visiting our sponsors. Thanks!
Reply With Quote
  #16 (permalink)  
Old 09-20-2006, 01:17 AM
ant's Avatar
ant ant is offline
ant has no status.

 
Join Date: Sep 2006
Posts: 293
Thanks: 0
Thanked 3 Times in 1 Post
Re: prefilled charts of piviot points

James, I still couldn't tell what was wrong with the pivot point formulas. What did you change?

I could change the trendlines to extend to the right. Basically, the function is TL_SetExtRight(<TL_Name>, True).

With respect to the rounding issue, are you saying that if a pivot point calculation results in 10660.5 that you want the line plotted at that value instead of 10661? If so, I'm not sure if that's possible since the YM has a granularity of 1 point (i.e., no decimals). I'll check into it though.

Reply With Quote
  #17 (permalink)  
Old 09-20-2006, 01:21 AM
Soultrader's Avatar
Soultrader is focusing on discipline.

Trader Specs
 
Join Date: Aug 2006
Location: Tokyo, Japan
Posts: 3,220
Thanks: 163
Thanked 467 Times in 208 Posts
Send a message via Skype™ to Soultrader
Re: prefilled charts of piviot points

I changed this bit right here:

// Daily Pivot Points Rng = DailyHigh - DailyLow; PP = (DailyHigh + DailyLow + DailyClose) / 3 ; R1 = (2*PP) - DailyLow ; R2 = PP + Rng ; R3 = R1 + Rng; S1 = (2*PP) - DailyHigh ; S2 = PP - Rng ; S3 = S1 - Rng ;
I changed the S3 formula from S2 - Rng to S1 - Rng. Also changed the R3 formula to R1 + Rng from R2 + Rng. Did this for the daily and monthly.

Regarding the rounding issue.. if it can not be changed it is okay. It is not a big deal since I tend to look at plus or minus 5 pts of every pivot.

Also, the code you just gave me to extend the line.... where should I place it in the coding?

Thank you

__________________
James Lee - Founder
Forum Guidelines | Forum Manual | Support Coder | Report a Bug
------------------------------------------------------------------------------------
Empowering traders with knowledge.

Please support TL by visiting our sponsors. Thanks!
Reply With Quote
  #18 (permalink)  
Old 09-20-2006, 01:28 AM
Soultrader's Avatar
Soultrader is focusing on discipline.

Trader Specs
 
Join Date: Aug 2006
Location: Tokyo, Japan
Posts: 3,220
Thanks: 163
Thanked 467 Times in 208 Posts
Send a message via Skype™ to Soultrader
Re: prefilled charts of piviot points

ahh.. I just realized it was my mistake. I use a different formula for the R3 and S3 pivot. I believe the classic formula adds or subtracts R2 and S2.

Instead I use the S1 and R1. I totally forgot about this because all I do everyday is plot the numbers into my spreadsheet.

__________________
James Lee - Founder
Forum Guidelines | Forum Manual | Support Coder | Report a Bug
------------------------------------------------------------------------------------
Empowering traders with knowledge.

Please support TL by visiting our sponsors. Thanks!
Reply With Quote
  #19 (permalink)  
Old 09-20-2006, 01:34 AM
ant's Avatar
ant ant is offline
ant has no status.

 
Join Date: Sep 2006
Posts: 293
Thanks: 0
Thanked 3 Times in 1 Post
Re: prefilled charts of piviot points

Changes are in this version. Thanks for the clarification.
Attached Files
File Type: eld SOULTRADERPIVOTS.ELD (12.9 KB, 35 views)

Reply With Quote
  #20 (permalink)  
Old 09-20-2006, 01:46 AM
Soultrader's Avatar
Soultrader is focusing on discipline.

Trader Specs
 
Join Date: Aug 2006
Location: Tokyo, Japan
Posts: 3,220
Thanks: 163
Thanked 467 Times in 208 Posts
Send a message via Skype™ to Soultrader
Re: prefilled charts of piviot points

Amazing... works perfectly Antonio. You have no idea how happy I am right now. Thank you very much

__________________
James Lee - Founder
Forum Guidelines | Forum Manual | Support Coder | Report a Bug
------------------------------------------------------------------------------------
Empowering traders with knowledge.

Please support TL by visiting our sponsors. Thanks!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Daily Charts Analysis Soultrader Technical Analysis 0 09-17-2006 09:06 PM
August 8th, Charts Soultrader Technical Analysis 0 08-09-2006 03:07 AM


All times are GMT -4. The time now is 12:13 PM.