Early In-N-Out Indicator

Forums ProRealTime English forum ProBuilder support Early In-N-Out Indicator

Viewing 15 posts - 1 through 15 (of 18 total)
  • #33543

    Howdy,

    Has anyone tried “Early In-N-Out Indicator” or is anyone aware of it being available on PRT?

    Indicator details in the link: Link: http://www.simplertrading.com/support/early-in-n-out-indicator/ 

    Many thanks.

    Jack

    #33551

    Could you please copy/paste the complete explanation of this indicator (or the code if possible), it is necessary to perfectly understand how to recode it. If you have any screenshots, they are of course greatly appreciated, in order to know how it looks on a chart! Thanks.

    #33605

    Hi Nicolas,

    Many thanks for your prompt reply.  Please see below and attached.

    This indicator consists of several parts, below is a description of each element.

    “Squeeze Indicator” should be based on “awesome oscillator” and it should be displayed by a series of dots (each dot under/over each momentum bar) in a straight line in place of the “0” line.  The color of each dot will be either green or red.  Red dot appears any time the standard deviation of a market contracts to the point where it is less than the average true range.  Everything else is a green dot.

    Bollinger Band 20,2.0 (standard deviation)

    Keltner Channel 20, 1.5 (average true range)

     

    Awesome Oscillator Bars

    Light blue for positive when above the “0” line.

    Dark blue for negative when above the “0” line.

    Red for  negative when below the “0” line.

    Yellow for positive when below the “0” line.

    Candlesticks are the same color as the histogram of Awesome Oscillator but change color to “green” and “yellow” and “light blue” and “dark blue” before the momentum changes and are meant to serve as an “early warning sign” and “entry” points when compared to the histogram of momentum.

    Candlestick turns green only when the “squeeze indicator” is in red and when the momentum increases from the previous bar.  This is the same for both directions of the market.  This is to indicate that a move is starting.

    Candlestick turns yellow when below the momentum “0” line and dark blue when above the momentum “0” line (this overrides the standard color matching described earlier).

    The trigger for reduction in momentum and thus change of the candlestick color before the color of momentum changes is if the candle high is lower than any of the 3 previous candles for long positions and if the candle’s low is higher than any of the 3 previous cadle lows.

    I hope that makes sense.  Any questions, just let me know.

    Many thanks for your assistacne.

    #33612

    Also, an extract from indicator description.

    “The indicator is designed to be a companion indicator to the traditional Squeeze andprovides cues for both early entries and exits. The indicator consists solely of a customcoloration of the price bars and uses the following mapping:

    1. Green – A volatility squeeze is currently in progress but is showing signs ofexpansion. Technically speaking, the Bollinger Bands are inside the KeltnerChannels but have begun to expand outward indicating a squeeze may “fire” soon.

    2. Light Blue – Momentum is trending strongly upward and increasing.

    3. Dark Blue – Momentum is trending upward but is no longer increasing in strength.You will note that the bars will generally turn dark blue before the accompanying momentum shift shows on the traditional squeeze indicator.

    4. Red – Momentum is trending strongly downward and increasing.
    5. Yellow – Momentum is trending downward but is no longer increasing in strength.You will note that the bars will generally turn yellow before the accompanyingmomentum shift shows on the traditional squeeze indicaton”
    #33645

    Oh I see now, this is the classic momentum squeeze made of Bollinger Bands inside the Keltner channel! I made already an indicator for this but before the new 10.3 version and the new graphic instructions. So I modified it, you can find it attached with an example of how it looks, I’ll add it to the library too later.
    Thanks for all explanations, it’s always a better thing to know precisely how to use an indicator and from what idea it is built on.

    So this version of the indicator can do both things: the squeeze oscillator below the chart and also add the squeeze color on the price chart. So you have to apply 2 times the indicator to have the same things as the examples attached below. To get the candlesticks color, apply the indicator on the price chart and check the “CandlesticksSqueeze” option (default to false) in the indicator settings window.

    Unless I missed something, I think everything from your queries have been translated, am I right?

    EDIT: the squeeze dots has also an option to move its offset from the zero line, because I think it’s not very clear sometimes (red dots over red histogram ..), default state is set to 0, but you can move it as per your preference.

    #33783

    Thank you so much Nicolas, great work!!

     

    I do have some follow up comments which I will post tomorrow.

    Big thanks again.

    #33789

    I’ve applied this indicator as suggested above and there seem to be some issues.  Please see attached screenshots for more info.

    Also, in relation to the functionality, one other feature seems to be missing, that is the “early warning” feature where the candle changes color to green or dark blue or yellow, please see below:

    When otherwise any of the colors (red, yellow, light blue, dark blue), the candlestick turns green only when the “Bollinger” indicator Up & Down lines (20,2) cross under the “Keltner Channel” indicator Up & Down lines (20).  No need to display the Bollinger and Keltner Channel indicator on candlestick chart, if the candlestick could turn green at that time that will be sufficient.

    When otherwise red the candlestick turns yellow when the candle closes above the Bollinger Low Band (20,2) only after it’s closed below it beforehand.

    When otherwise “light blue” the candlestick turns Dark Blue when the candle closes below the Bollinger Low Band (20,2) only after it’s opened and/or closed above it beforehand.

    #33794

    Issues

    #33803

    ok so the candlesticks color are totally different from the TTM Squeeze oscillator? The oscillator is correct so? The “disappearing” problem is a platform bug.. if you look at the Y scale values (or if you hit CTRL+D), you can see that the oscillator values are still there while but the graphical components are missing.

    #33890

    For some reason I cannot edit previous posts, just reposting with better formatting and a minor change in Conditions 2 and 3.

    First we need to build an indicator based on existing PRT indicators (those are indicators taken from existing PRT 10.3 indicators list and not the ones used in TTM Squeeze oscillator).

    Indicator 1 – Bollinger Up line (20,2)

    Indicator 2 – Bollinger Down line (20,2)

    Indicator 3 – Keltner Channel Up line (20)

    Indicator 4 – Keltner Channel Down line (20)

    Indicator 5 – TTM Squeeze oscillator (the red/green dots specifically).

    (see cross over/under in “1-2.png” in earlier post).

    Rules

    Early Entry Signal

    Condition 1 – Indicator 5 dot is Green

    Condition 2 – Indicator 1 crosses under Indicator 3 or Indicator 1 is lesser than Indicator3.

    Condition 3 – Indicator 2 crosses under Indicator 4 or Indicator 3 is lesser than Indicator4.

    See screenshot showing the crossovers/under ref “1-2.png”.

    Outcome – When Condition 1 and Condition 2 and Condition 3 = green candlestick.

    Candlesticks remain green as long as above condition exists.

    Candlesticks revert to default colors any time above conditions do not exist.   

    This is the only way this indicator is activated.  This indicator is only active till the 1st candlestick color change from “light blue” or “red” following the green candlestick to any other color. 

    This indicator can only produce Exit signals listed below only if the Early Entry Signal was activated and candlestick color remains unchanged.

    More on that below.

    Early Exit Signal for any time candlestick closes above the Up line of Indicator 1.

    Condition 1 – Candlestick closes above Indicator 1.

    This is a prerequisite and signal listed in condition 2 cannot occur if condition 1 was not met.  Please note that Condition 2 will happen any number of candles after Condition 1 was met.  

    Condition 2 – Candlestick closes below Indicator 1.

    This means that all candles after Condition 1 is met will be “light blue” till shift in momentum.  We are looking for early indication that momentum is about to shift.  So long as the candles remain “light blue” and any time any light blue candle closes below Indicator 1 then that candle is to turn to “dark blue”. 

    However, if the momentum shifts and produces a “dark blue” candle before any candle could close below Indicator 1 then this indicator needs to disengage.  The indicator will be only active till the 1st “dark blue” candle after condition 1 was met.   

    Outcome – When Condition 2 = dark blue candlestick color.

    Indicator disengages till the next set up.

     

    Early Exit Signal for any time candlestick closes below the Down line of Indicator 2

    Condition 1 – Candlestick closes below Indicator 2.

    This is a prerequisite and signal listed in condition 2 cannot occur if condition 1 was not met.  Please note that Condition 2 will happen any number of candles after Condition 1 was met.  

    Condition 2 – Candlestick Closes above Indicator 2.

    This means that all candles after Condition 2 is met will be “red” till shift in momentum.  We are looking for early indication that momentum is about to shift.  So long as the candles remain “red” and any time any red candle closes above Indicator 2 then that candle is to turn to “yellow”. 

    However, if the momentum shifts and produces a “yellow” candle before any candle could close above Indicator 2 then this indicator needs to disengage.  The indicator will be only active till the 1st “yellow” candle after condition 1 was met.

    Outcome – When Condition 2 = yellow candlestick color.

    Indicator disengages till the next set up.

     

    Integration with TTM Squeeze oscillator

    We want to integrate above indicator with the existing TTM Squeeze oscillator.  Whenever the signal of (green, dark blue, yellow) is produced then it will override TTM Squeeze oscillator candlestick color for that 1 candlestick for Early Exits and any number of Green candlesticks whenever conditions allow for it.  This is to be applied only to the candlestick and not to the momentum bar.

    #34067

    Please test this new rough version for the candlesticks color changing. This is now a totally different indicator from the TTM Squeeze one, it can only be applied on price (candlesticks).

    #34076

    Thank you Nicolas!!

     

    #34077

    Where would I get the code for “Chaikin Money Flow” indicator?  Cannot seem to be able to edit the PRT indicator and it does not seem to be present in the PRT online library.

    #34103

    I found this code on the web for the Chaikin Money Flow indicator: (didn’t made any comparison with the prorealtime one)

    You may also find something similar with this other indicator: https://www.prorealcode.com/prorealtime-indicators/twiggs-money-flow/

     

    #34113

    FYI, the TTM Squeeze oscillator is now also available in the library. What about the ‘Early in and out’ indicator, did I coded it right?

Viewing 15 posts - 1 through 15 (of 18 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login