Automatic session boxes indicator -
1 2 3 4

thread: Automatic session boxes indicator

  1. #21
    Junior Member valerayparra's Avatar
    20
    Hi timgin, I know that it's amazing indior, although a bit late. The gift that keeps on giving

  2. #22
    Junior Member LAURIELDEFREXX's Avatar
    23
    Great Indior!
    I truly love you.

  3. #23
    ?? ?

  4. #24
    Pardon everyone for replies.

    the boxes seem to open and close 1 hour late than the actual market
    What counter is the broker on? That is the part that is important.
    You can use the _Mod setting to maneuver each session one hour into the appropriate, eg. Set LondonMod into 1,1 and the rest of the session also, but that is just a workaround, I wonder exactly what might cause it.
    Can your broker change for daylight saving? Can you change for daylight savings where you live, too?
    I will start looking into the algorithm again , I think there ought to be a means to simplify it.

    Hi timgin, I know it's a little late, but awesome indior. The gift that keeps on giving
    great Indior! I really love you.
    â#8364;#8249;â#8364;#8249;â#8364;#8249;
    Glad you find it useful, men. Thanks

  5. #25
    Great Indi, thanks timginter.

    I can't seem to get the range value working though. Any thoughts as to what I need to do?

    Thanks again.

  6. #26
    Been enjoying this indy last few days but just noticed it's now not working properly. I guess it has something to do with the very fact that we're now off hours.

    When I rebooted MT4 after hours (it's New Year's eve right now) each of the sessions are offset incorrectly. Pictured here is a chart from FXCM which is GMT 2/3 depending upon DST (but they always adjust to align with NY close as indiing end daily ).

    Thanks in advance for any pointers howexactly -- if possible--to get this working soon. I had been expecting to do a little bit of markup and backtest work during off hours.

    Thanks much!

  7. #27
    Member van's Avatar
    32
    This is excellent thanks for discussing!!

  8. #28
    Sorry for a late response, men. Glad you find it useful, though!

    Great Indi, thanks . I can't seem to get the range worth working though. Any ideas as to what I need to do? Thank you again.
    Assess the readme in the very first post - set ShowRange to true to show session ranges in pips (Show thing descriptions must be enabled for this to work, check Charts Properties Show object descriptions)

    I guess it's something to do with the reality that we are now off hours. When I rebooted MT4 later hours (it's New Year's eve right now) all the sessions are offset incorrectly.
    Try altering timeframe to a different one and then back - that will redraw all the boxes. The indi gets stuck following MT4, timeframe that is changing will force redraw of those boxes.

    If that did not help, you can adjust the counter manually for analyzing off hours, however and change it back to 0,0 when the markets open. Check the readme about the best way to move the boxes forward or back on the Input tab, in the very first post - set the Mod choices if you need to move the boxes on the right 1 hour. Should you need to move them set to -1, -1. Time differences and a market are catchy:/

  9. #29
    Member PRZ7's Avatar
    32
    Thank you alot for this wonderful indior but I have a few notes
    1. I think there's common logical error in all sessions indiors: initial pub in the box is contained in the session where as last pub is redeemed .to avoid this I made a simple one line adjustment on your code
    else rEnd = end-Period();
    currently first and last pub in the box are contained in any hourly chart or smaller chart.
    2. London and New York sessions instances requires where as the Tokyo session requires different adjustment adjusting by amount.
    Many thanks for your wonderful indior

  10. #30
    thanks alot with this superb indior but I've some notes 1. I believe there's common logical error in all sessions indiors: initial pub in the box is included in the session at which as last pub is redeemed .to avoid this I made a simple one line adjustment on your code rEnd = end-Period(); now first and final pub at the box are included in almost any hourly chart or smaller chart. 2. London and New York sessions instances needs adjusting exactly the same amount at which since the Tokyo session needs modification. Many thanks for your superb indior...
    Thanks, glad you are finding it useful.

    As for your notes:
    1) it's not a mistake, it depends upon how you examine the candles - if sessions are drawn properly they don't envelope candles visually over the chartthey start/end at the time when the candles start/end. Switch to pubs or take a look at the screenshot and you will see what I mean. It seems like it's not drawing however, so it appears like the candle is wrapped while the line should go through the middle of first and final candle.
    Two ) Japan doesn't change daytime or time change. If sessions are drawn properly the algorithm requires it into account, but it seems like it doesn't on your case.

    I need to critique the algorithm, there's a lot of factors and depending on the time of the year or at which you trade from and where your broker is you may have some temporary alterations to do.

  •