Recent Strength indicator -
... 13 21 22 23 24 25 33 73 ...

thread: Recent Strength indicator

  1. #221
    Senior Member Tataylo's Avatar
    435
    Hi David,

    Thanks for the wonderful indior. I cannot get it to display correctly. Any ideas?
    Dazz,

    Press the key several times to zoom out. This will give the indy more horizontal screenspace.

    Also, it's possibly much better to have the news indy on another chart, so the stength indy has more vertical space to utilize. View my screenshot. These are made by having the power indy plot in the below price, and then dragging the window separator upward as far as you can give the sub-window the maximum vertical screenspace.

    Hope that helps - it is about all that I could see, given your attached screenshot. All of the lines seem to be plotting OK, they simply want screenspace so you can see them.

    Happy New Year,
    David

  2. #222
    Junior Member AnaLoTa's Avatar
    9
    Thank you David, that did the trick. This indior (such as all your other ones) is spectacular. It does cause MT to hang, lock up and wreck though. Win7 is being used by me. Does anybody else have this issue?

  3. #223
    Senior Member Tataylo's Avatar
    435
    It does cause MT to hang, lock up and wreck though. I'm using Win7.
    I've been using the indy for almost 2 decades now without any issues. I have not analyzed all of the parameter combos that were feasible - there are thousands of possible permutations. The indy is very'data intensive', as it must collate data from all pairs along with TFs so I guess it is possible that if the live data feed of your br0ker is slow, then it might possibly cause extended periods of freezing. While it is gathering data, sometimes I've had it take around 10 mins to load.

    Might Also Be a Win 7-related Issue. I am not courageous enough to proceed from XP.

  4. #224
    I have been using the indy for nearly two decades now with no problems. I haven't tested the possible parameter combos all - . The indy is quite'data intensive', as it must collate data from all pairs along with TFs being analyzed, so that I guess it's possible that if the live data feed of your br0ker is slow, it could cause long periods of freezing. While it's collecting data, Occasionally I've had it take up to 10 mins to load.

    Could also be a Win 7-related Issue. I am not brave enough...
    Hello. . Hanover

    if you dont mind... I have a question. . How you deal with data for indior that need multi currency pairs ohlc data. . ?

    Highly appreciated if you have any experience about it which you are able to share. .

    Now my solution is to test all bar time with iTime(...) to all symbols in startup

    it look like this:

    Inserted Code //overall series gsaSymbols#91;#93; = EURUSD, GBPUSD, USDJPY, USDCHF, USDCAD, AUDUSD, NZDUSD, EURJPY, EURGBP, EURCHF, AUDCAD, AUDCHF, AUDJPY, CADCHF, CADJPY, CHFJPY, NZDCAD, NZDCHF, NZDJPY, EURAUD, GBPCHF, GBPJPY, AUDNZD, EURCAD, EURNZD, GBPAUD, GBPCAD, GBPNZD ; int giLTf, giHTf; //reduced timeframe, higher timeframe int init() giLTf = Period(); giHTf = PERIOD_D1; int begin () int limit; static bool startup = true; if (startup) int aitf#91;2#93;; aitf#91;0#93; = giLTf; aitf#91;1#93; = giHTf; bool bt = checkBarTime(aitf, Symbol()); if (! bt) Sleep(1000);return(0); int counted_bars; if (! Startup ) counted_bars = IndiorCounted(); startup = false; should (counted_barsgt;0) counted_bars--; restrict =Bars-counted_bars; int starthtf = iBarShift(NULL, Period(), iTime(NULL, giHTf, HtfNumBars-1)); restrict = MathMin(limit, starthtf); for(int I=limitation; igt;=0; I--) //... return(0) } //----- bool checkBarTime(int aitf#91;#93;, series symcpr/*emblem comparator*/) int I, j, k, l; bool b=true; for (I=0; ilt;ArraySize(gsaSymbols); I )//* series sym = gsaSymbols#91;I#93;; //check whether the emblem is exist platform should (MarketInfo(sym, MODE_BID) == 0) continue; for (j=0; jlt;ArraySize(aitf); j )//** datetime dtcpr = iTime(symcpr, aitfNumber 91;j#93;, 0); datetime dtsym = iTime(sym, aitf#91;j#93;, 0); should (dtcpr! = dtsym) Print(Time on, sym, (, TimeToStr(dtsym), ) didnt fit , symcpr, (, TimeToStr(dtcpr), ), Timeframe:, aitfNumber 91;j#93;, Minute); //I dont break here. . To stimulate mt4 download all hystory data required b = false; //** //* return(b);

  5. #225
    Senior Member Tataylo's Avatar
    435
    Hello.. Hanover

    if you dont mind... I have a query. . How you deal with information for indior that need multi currency pairs ohlc data. . ?
    SorryI really don't understand how what you are asking relates to the Power indy.

    Contrary to the code that you posted, the Power indy does not compare information between different timeframes. Each phase operates fully independently. The indy averages the % difference between each plotted point along with the user's nominated foundation point, across all chosen pairs to get a currency (e.g. pairs to its NZD plot = NZDUSD, NZDJPY, AUDNZD). If a candle closing price** is missing for a single pair, then pair is omitted from the averaging calculation for that particular data point. For example, if there's absolutely no H4 candle for AUDNZD on 2011.01.06 16:00, then only the NZDUSD and NZDJPY would be averaged to the NZD H4 plot, for that data point.

    [** only candle near prices are used; open/high/low prices are ignored]

    For more info on how the calculation works, please read post #7.

  6. #226
    Sorry, I really don't know exactly what you are asking relates to this Power indy.

    Contrary to the code that you submitted, the Power indy does not compare data between different timeframes. Each timeframe operates completely independently. The indy averages the percent difference between each plotted point along with the user's nominated bottom point, across all nominated pairs for a currency (e.g. pairs to your NZD plot = NZDUSD, NZDJPY, AUDNZD). If a candle closing price** is lost for one pair, then pair is omitted from the averaging calculation for that data...
    I'm sorry for confusing you...
    what I mean is the way you deal with lost info, and you opt to ommited the pair that missing closing price from averaging calculation.
    Thank you very much for describing it

    the code that I posted is part of my indior that visualize how long currency strength improved on lower time frame, not yet finished
    the picture maybe can speak far better than me...

  7. #227
    Junior Member AnaLoTa's Avatar
    9
    Hi David. Thank you for your answer. I finally have the indior working and it is a peice of work. I appreciate you replying to my request.

    One additional qu pls. How can I eliminate the date/time text?

  8. #228
    Junior Member AnaLoTa's Avatar
    9
    The timeframe, I will set the text black, then I looses . Is there another way?

  9. #229
    Senior Member Tataylo's Avatar
    435
    DavidI can set the text as black, I loose the time in the bottom. Is there another way?
    I think you mean'lose the time'.

    You can change the SetPointCount setting to true, which will replace the date/time using a value that's the range of points from the BasePoint. But this area and the span are plotted using TextColor it's impossible to conceal one.

    I will look at changing this in a subsequent release, however I can not say when.

  10. #230
    Hey,
    Have you ever noticed the OverlayCharts indior out of forex-tsd's elite section? It permits you to show prices for multiple currencies on the chart. How would you compare this with your latest strength indior? Do you think it provides the basic info, or are they intrinsically different?

  •