The ideas that I trade by:

free & uncensored discussion arena for TheRumpledOne

Moderator: moderators

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5814
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 1129
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 632 times

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

Sacrophage
rank: 150+ posts
rank: 150+ posts
Posts: 152
Joined: Tue May 17, 2016 8:16 pm
Reputation: 12
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: 5814
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 1129
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 ) {

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5814
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 1129
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 657 times

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5814
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 1129
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 653 times

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

Sacrophage
rank: 150+ posts
rank: 150+ posts
Posts: 152
Joined: Tue May 17, 2016 8:16 pm
Reputation: 12
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: 5814
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 1129
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: 5814
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 1129
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.

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

Re: The ideas that I trade by:

Postby MightyOne » Sun Aug 28, 2016 7:27 am

The difference between the two charts is:
1) the time that it takes for price to traverse the space to the next line.
2) the margin and interest required to keep a trade open
3) the significance of the spread (1/25 of a line on the monthly!)
4) the impact of short term volatility and black swan events
5) the number of lines that are required to give a trade room to profit
Am I missing something? :|

Every period has its time and place in a strategy.

Mix it up, always have something working.

90_is_90.png
90_is_90.png (125.25 KiB) Viewed 861 times

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 12728
Joined: Sun May 14, 2006 9:31 pm
Reputation: 1029
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Re: The ideas that I trade by:

Postby TheRumpledOne » Sun Aug 28, 2016 3:45 pm

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

May I suggest:


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 + previousHigh) / 2
2)else midpoint = (high + low) / 2
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!

Please do NOT PM me with trading or coding questions, post them in a thread.

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


Return to “TheRumpledOne”