The ideas that I trade by:

free & uncensored discussion arena for TheRumpledOne

Moderator: moderators

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

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

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: 5602
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 775
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."

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: 5602
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 775
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: 5602
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 775
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 724 times

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 12686
Joined: Sun May 14, 2006 9:31 pm
Reputation: 972
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.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 12686
Joined: Sun May 14, 2006 9:31 pm
Reputation: 972
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:53 pm

MightyOne wrote: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


I think I almost get it. Not quite there. Don't understand why you change size when changing time frames.
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.

User avatar
Jalarupa
rank: 1000+ posts
rank: 1000+ posts
Posts: 1189
Joined: Tue Feb 23, 2010 5:50 pm
Reputation: 90
Location: South Africa
Gender: None specified
Contact:

Re: The ideas that I trade by:

Postby Jalarupa » Sun Aug 28, 2016 4:18 pm

In order to keep risk relative... To lines traded...
Risking 2 lines at 2% on a monthly chart uses a lot more space than on a 5 minute...
Feed my will to feel this moment urging me to cross the line.
Reaching out to embrace the random.
Reaching out to embrace whatever may come.

Trade management by <<FX SYNERGY>>
<<Bitcoin Trading>>

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


Return to “TheRumpledOne”