Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

Tradewinds

Price Cycle

Recommended Posts

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.

 

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");

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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.

Price_Cycle_High.thumb.jpg.3b112f2d034e48d9f22908b9ca0d8e15.jpg

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.