Watchlist in Metatrader - Page 2
Page 2 of 843 FirstFirst 123 LastLast
Results 11 to 20 of 29

Thread: Watchlist in Metatrader

  1. #11
    Quote Originally Posted by ;
    therefore does this make a difference if I use a timebased indior or timebased EA?

    By the way, what if I use? indior or EA?

    thanks a lot.
    Everything depends on what you need it to do. However, I worked with scripts when I need something time-based. Not sure what's the behaviour is similar to when the concept is applied to EA or indior.

    If I were you I'd create a SCRIPT comprising an infinite while loop comprising a sleep(1000) [very important unless you wanna see your MT4 customer hang], it'll draw tag objects of their currency pairs in query along with their corresponding RSI value. Then that is applied to a dummy chart that's blank (no bars, no candles, no nothing). It is possible to get a window that is blank by loading the template.

    regards,
    Zen
    https://www.forexforum.co.za/attachm...1238368767.tpl

  2. #12
    Thank you very much Zen_Leow

    you helped me a lot

  3. #13
    One other question please. .

    Which data is gon nana be upgraded when I use RefreshRates()?) The data from the pair?

    How can I update the values from (habit) indiors (values I get with iCustom(...)) and the data from other pairs (values I get together for example iClose(...))

    thanks a lot.

  4. #14
    RefreshRates() upgrades the following.

    Ask
    Bars
    Bid
    Close
    Digits
    High
    Low
    Open
    Point
    Time
    Volume

    if you want to update values recovered from additional pairs, simply make a variable to keep it then update that factor using those iCustom or iClose functions.

    regards,
    Zen

  5. #15
    Sorry but I dont get it... do you have a good example?

    And the values recovered through iClose etc arent updated? Because right now I am running a test and it appears like I get the new value every time?!

  6. #16
    Quote Originally Posted by ;
    I've done EAs which are time-based instead of tick-based using this method. You'd like to explore creating time-based indiors.
    There's merit in time established indiors since there are generally greater than one on a chart, in contrast there is usually only 1 EA. So you would probably need the EA running code each tick. With indior(s) that this is not necessarily the case. Limiting the code implementation of the indior to set time periods does function nicely, but you just get implementation when the tick is 'alloed'. Thank you for the offer btw. Just as for five charts with five rsi's, the only reason why you would have to do that has got to be visual? If you can get the rsi readings in the EA then the sole reason to open charts will be to confirm stuff, like zigzag patterns for instance, or for visual reference. imo. Regards.

  7. #17
    Quote Originally Posted by ;
    Hey folks,

    I need some help. Has anyone of you guys ever programmed a Watchlist at Metatrader?

    For instance a scanner which tracks 5 currency pairs also gives a signal when the RSI is above 70?

    thanks a lot.

    bye,
    thomas
    Something like this?


  8. #18
    Quote Originally Posted by ;
    Something like this?
    Yes just... are you willing the share it?

  9. #19
    a very basic time-based watchlist utilizing script is something like this.

    Place the blank_window. Tpl from the templates folder, place the RSI_Watchlist. Mq4 from the folder that is SCRIPT.

    Open any chart, load the template. Then attach the script to the chart. After you're done with the settings click fine.

    regards,
    Zen
    https://www.forexforum.co.za/attachm...6449844708.tpl
    https://www.forexforum.co.za/attachm...6216741746.mq4

  10. #20
    Quote Originally Posted by ;
    There's merit in time established indiors because there are usually more than just one on a chart, in contrast there is usually just one EA. That means you would want every tick is coded by the EA running. With indior(s) that this is not always the situation. Limiting the code implementation of this indior to set time intervals does work but you just get implementation when the tick is 'alloed'. Thanks for the offer btw....
    Really I did not offer you anything... the statement that you quoted me was for the thread-starter. Anyway, to address your concerns over but you get implementation when the tick is 'alloed'. . In theory, (so I've yet to attempt this) with a while loop in the start() function of an EA or indior will effectively convert it in tick predied on period established. Of cos buffer handling in indiors will need some work. I believe it ai not hard in any way.

    I proposed attaching the rsi indiors about the separate charts of these currency pairs in question and have them toss awake is only a quick an easy method of getting the ultimate result that the threadstarter wanted in relation to buy-sell signal. Cos all alerts goes directly to the window that is , and it says what's the currency pair that triggered the alert.

    With that said, I would like to point out again that for most of the time established stuffs that I typed, they're all scripts which runs on an infinite loop. As soon as I said I wrote a time-based EA, it's a script which runs indefinitely until the chart window has been closed and it works exactly the same manner as a EA does in terms of sign identifiion and transaction opening except it is not bound by tick alloion but only by it's time interval.

    hope that clears things up for you.

    regards,
    Zen

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.