Welcome to the Traders Laboratory Forums.
Trading Indicators Post your custom trading indicators. If you download, remember to click INSTALL.

Like Tree1Likes
  • 1 Post By clmacdougall

Reply
Price Cycle Details »»
Price Cycle
Platform: 9.0, by Tradewinds Tradewinds is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Platform: Tradestation Rating:
Released: 09-19-2011 Last Update: Never Installs: 0
 
No support by the author.

This is a very simple oscillating indicator to compare price high to price low behavior. Interestingly, the price often peaks with the Price Low line goes higher than the Price High line. So you can take peak signals off what the Price Low is doing.

Code:
var: PrcLwChg(0), PrcHiChg(0), FinalPriceHiChg(0), FinalPriceLwChg(0), PrcLwChgDwn(False), PrcHiChgUp(False);

PrcHiChg = H-H[1];
PrcLwChg = L-L[1];

If PrcHiChg <> 0 then FinalPriceHiChg=PrcHiChg/0.77
	Else if PrcHiChg=0 and C-O<>0 then FinalPriceHiChg=(C-O)/0.77
	else FinalPriceHiChg=FinalPriceHiChg[1];
If PrcLwChg <> 0 then FinalPriceLwChg=PrcLwChg/0.77
	else if PrcLwChg=0 and C-O<>0 then FinalPriceLwChg=(C-O)/0.77
	else FinalPriceLwChg=FinalPriceLwChg[1];

PrcHiChgUp = FinalPriceHiChg>FinalPriceHiChg[1];
PrcLwChgDwn = FinalPriceLwChg<FinalPriceLwChg[1];

plot1(FinalPriceLwChg,"Hi Chg");
plot2(FinalPriceLwChg,"Hi Chg2");

plot3(FinalPriceHiChg,"Low Chg");
plot4(FinalPriceHiChg,"Low Chg2");

plot5(0,"ZeroLine");

Show Your Support

  • If you like to thanks you by the author -> Click Thanks to the Author
  • This modification may not be copied, reproduced or published elsewhere without the author's permission.
The Following 2 Users Say Thank You to Tradewinds For This Useful Post:
nuno-online (03-27-2012), Tams (09-20-2011)

Comments
Old 09-20-2011, 12:17 AM   #2

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,477 Times in 912 Posts

Re: Price Cycle

would you have a sample chart to go with the code?
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 09-20-2011, 05:48 AM   #3

clmacdougall's Avatar

Join Date: Jan 2009
Location: halifax
Posts: 433
Ignore this user

Thanks: 200
Thanked 179 Times in 125 Posts

Re: Price Cycle

Hi Tradewinds


A few months ago I finished the book, " Future Trends From Past Cycles," by Brian J. Millard, it may interest you if you are looking for an understanding of price oscillation. Just thought it could be of some help as you must be studying about such things nowadays.
jhabellard likes this.
clmacdougall is offline  
Reply With Quote
The Following 2 Users Say Thank You to clmacdougall For This Useful Post:
jhabellard (10-08-2011), Tradewinds (09-20-2011)
Old 09-20-2011, 01:35 PM   #4

Tradewinds's Avatar

Join Date: Nov 2008
Location: Northeast U.S.
Posts: 891
Ignore this user

Thanks: 373
Thanked 231 Times in 164 Posts
Blog Entries: 6

Re: Price Cycle

Quote:
Originally Posted by Tams »
would you have a sample chart to go with the code?
ES 3 minute chart.

This screen shot shows how I've colored the lines in the oscillator. Here's how I would read the peak signals:

Once you see some separation up between the Price Low line (Gray), and the Price High line (Yellow), . . . . AND the Yellow Line is either going up with the grey line, OR the Yellow line was going up on the last bar, you would exit your long position on the next bar when the close was up, and the close was higher than the close of the last bar. If you take a look at the chart, the close would have been up, and higher 100% of the time on the next bar. Yes, the historical chart shows one set up with a close down after the signal at 10:51am, but in real time there would have been a close up, AND the close higher than the last.

That strategy would have gotten you out of your long order almost at every price peak.
Attached Thumbnails
Price Cycle-price_cycle_high.jpg  
__________________
Precise, "dialed-in", targeted combination setups, like opening a combination lock; is the experience you should be having while trading. Dial left, right, left, . . . click - the lock opens.
Tradewinds is offline  
Reply With Quote
The Following 2 Users Say Thank You to Tradewinds For This Useful Post:
Tams (09-20-2011), ValueTrader (01-04-2012)

Reply

Thread Tools
Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Decision Cycle Tradewinds Trading 3 07-06-2011 10:23 PM
Cycle Moving Average and Cycle Stochastic oddball Trading Indicators 2 03-31-2011 11:48 AM
Using Cycle Polynomials programmer Technical Analysis 7 11-10-2009 10:13 PM
A cycle of our psyche? torero Trading Psychology 9 08-16-2007 09:15 AM

All times are GMT -4. The time now is 10:09 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.