The ideas that I trade by:

free & uncensored discussion arena for TheRumpledOne

Moderator: moderators

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5977
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 1585
Gender: Male

Re: The ideas that I trade by:

Postby MightyOne » Thu Aug 25, 2016 7:12 pm

Getting closer to what I want to see:

EURCHFWeekly.png
EURCHFWeekly.png (29.39 KiB) Viewed 791 times

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

aliassmith
rank: 1000+ posts
rank: 1000+ posts
Posts: 1738
Joined: Tue Jul 28, 2009 9:50 pm
Reputation: 188
Gender: Male

Re: The ideas that I trade by:

Postby aliassmith » Thu Aug 25, 2016 8:35 pm

MightyOne wrote:Hours of modifying code...
I didn't mean to waste so much time, it just happened #-o

GBPAUDWeekly.png


You have plenty of time between those monthly and yearly candles you trade. :mrgreen:
Trade Your Way as Long as It Makes Money!

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5977
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 1585
Gender: Male

Re: The ideas that I trade by:

Postby MightyOne » Fri Aug 26, 2016 6:04 am

aliassmith wrote:
MightyOne wrote:Hours of modifying code...
I didn't mean to waste so much time, it just happened #-o

GBPAUDWeekly.png


You have plenty of time between those monthly and yearly candles you trade. :mrgreen:


I diversify between pairs and periods these days :wink:

I am finally done modifying the indicator.
(2016 donational, you'll have to ask TRO for it)

mid[BI] -20
1) there was a breakout of the previous high
2) the current midpoint is greater than the previous midpoint (for outside bars)
3) the close is currently 20 pips below the previous midpoint

mid[BO] 75
1) the current midpoint was dragged above the previous high
2) price is currently 75 pips above the midpoint
(if the number turns negative then the bias has been reversed)

reversed 37
1) there was a breakout of the previous high
2) the midpoint is greater than the previous midpoint (for outside bars)
3) the close is currently 37 pips lower than the previous high

-501/262
1) price is ranging within the extremes of the previous candle
(down 501 from the previous high, up 262 from the previous low)
2) the close is currently below the current midpoint (bias is down)

USDJPYMonthly.png
USDJPYMonthly.png (29.39 KiB) Viewed 711 times

Sacrophage
rank: 150+ posts
rank: 150+ posts
Posts: 152
Joined: Tue May 17, 2016 8:16 pm
Reputation: 15
Gender: None specified

Re: The ideas that I trade by:

Postby Sacrophage » Fri Aug 26, 2016 1:44 pm

Hotness. Send it TRO! MO, previous means the last candle, or is there a lookback parameter to find a previous H/L?

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5977
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 1585
Gender: Male

Re: The ideas that I trade by:

Postby MightyOne » Fri Aug 26, 2016 4:45 pm

Sacrophage wrote:Hotness. Send it TRO! MO, previous means the last candle, or is there a lookback parameter to find a previous H/L?


Candle[1] is previous.

I go back as far as candle[2] for the midpoint calculation:
if(plow > ppclose){plow = ppclose;}
if(phigh < ppclose){phigh = ppclose;}
pmidpoint = (phigh + plow)/2;
The current midpoint is found in a similar way:
if(low > pclose){low = pclose;}
if(high < pclose){high = pclose;}
midpoint = (high + low)/2;

This is the "deep reversal" aka midpoint break-in (mid[BI]):
if( high > phigh && midpoint > pmidpoint && close < pmidpoint || low < plow && midpoint < pmidpoint && close > pmidpoint){ ...

If the number is negative then you know that it broke the previous high and reversed and if it is positive then you can be sure that price broke the previous low and reversed. The bias is the long above / short below the previous extreme, the mid[BI] just gives a new point at which to continue that bias.

mid[B0]:
if(midpoint > phigh && close >= phigh) {

reversed x:
if( high > phigh && midpoint > pmidpoint && close < phigh ) {

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5977
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 1585
Gender: Male

Re: The ideas that I trade by:

Postby MightyOne » Fri Aug 26, 2016 5:02 pm

Bias example:

USDJPYDaily.png
USDJPYDaily.png (34.68 KiB) Viewed 736 times

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5977
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 1585
Gender: Male

Re: The ideas that I trade by:

Postby MightyOne » Fri Aug 26, 2016 5:16 pm

M5 Example:

USDJPYM5.png
USDJPYM5.png (50.61 KiB) Viewed 732 times

Sacrophage
rank: 150+ posts
rank: 150+ posts
Posts: 152
Joined: Tue May 17, 2016 8:16 pm
Reputation: 15
Gender: None specified

Re: The ideas that I trade by:

Postby Sacrophage » Fri Aug 26, 2016 5:35 pm

Cool way of doing midpoints as it biases for candle direction when new extremes are made. Deem them MOPoints!

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5977
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 1585
Gender: Male

Re: The ideas that I trade by:

Postby MightyOne » Fri Aug 26, 2016 6:33 pm

Sacrophage wrote:Cool way of doing midpoints as it biases for candle direction when new extremes are made. Deem them MOPoints!


You can call the boy Sue for all I care :lol:

Well, he must o' thought that is quite a joke
And it got a lot of laughs from a' lots of folk,
It seems I had to fight my whole life through.
Some gal would giggle and I'd get red
And some guy'd laugh and I'd bust his head,
I tell ya, life ain't easy for a boy named "Sue."

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5977
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 1585
Gender: Male

Re: The ideas that I trade by:

Postby MightyOne » Sun Aug 28, 2016 4:50 am

New logic, what do you think?

Code: Select all

  //overlapping price action
   if(high > phigh && low < pmidpoint && close > pmidpoint && midpoint > pmidpoint || high > phigh && low < plow && close > phigh){
   midpoint = (high + pmidpoint) /2;
   if(midpoint > phigh) {theValue = (close - midpoint) / point; twMESSAGE = "mid[B0] "+DoubleToStr(theValue, 0); twCOLOR = colorHigh;}else
   if(close > phigh) {theValue = (close - midpoint) / point; twMESSAGE = "breakout " + DoubleToStr(theValue, 0); twCOLOR = clrDodgerBlue;}else
   if(close < phigh) {theValue = (phigh - close) / point; twMESSAGE = "reversed " + DoubleToStr(theValue, 0); twCOLOR = colorHigh;}}else
   //overlapping price action
   if(low < plow && high > pmidpoint && close < pmidpoint && midpoint < pmidpoint || high > phigh && low < plow && close < plow){
   midpoint = (low + pmidpoint) /2;
   if(midpoint < plow) {theValue = (midpoint - close) / point; twMESSAGE = "mid[B0] "+DoubleToStr(theValue, 0) ; twCOLOR = colorLow;}else
   if(close < plow) {theValue = (midpoint - close) / point; twMESSAGE = "breakout " + DoubleToStr(theValue, 0); twCOLOR = clrDodgerBlue;}else
   if(close > plow) {theValue = (close - plow) / point; twMESSAGE = "reversed " + DoubleToStr(theValue, 0); twCOLOR = colorLow;}}else
   //no overlap reverse
   if( high  > phigh && midpoint > pmidpoint && close < phigh ) { theValue  = (phigh - close ) / point ;  twMESSAGE = "reversed " + DoubleToStr(theValue, 0)  ; twCOLOR = colorHigh ; myThreshold = 0;  } else
   if( low < plow && midpoint < pmidpoint  && close > plow   ) { theValue  = (close - plow) / point ;  twMESSAGE = "reversed " + DoubleToStr(theValue, 0)  ; twCOLOR = colorLow ; myThreshold = 0; } else                     
   //no overlap breakout
   if(midpoint > phigh && close >= phigh) {theValue = (close - midpoint) / point ; twMESSAGE = "mid[B0] " + DoubleToStr(theValue, 0) ; twCOLOR = colorHigh ;}else
   if(midpoint < plow && close <= plow)  {theValue = (midpoint - close) / point; twMESSAGE = "mid[B0] " + DoubleToStr(theValue, 0) ; twCOLOR = colorLow ;} else


The easy to understand version:

1) trade away from the current midpoint
2) if there is a breakout then trade long above or short below the extreme
3) if the midpoint is higher than the previous high then trade long above it or short below the midpoint

midpoints:
1) if the current candle breaks the high of the previous and has an extreme that is at or below the previous midpoint then the
midpoint = (high + previousMidpoint) / 2
2)else midpoint = (high + low) / 2

high/low extremes:
if the high of the current candle is lower than the previous close then the high equals the previous close
if the low of the current candle is higher than the previous close then the low equals the previous close.

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “TheRumpledOne”