Watchlist in Metatrader
Page 1 of 843 123 LastLast
Results 1 to 10 of 29

Thread: Watchlist in Metatrader

  1. #1
    Quote Originally Posted by ;
    a different query. . Is it feasible to open chart windows out of an script/EA?

    For instance the scanners outcomes are EURUSD and CADCHF and I need the EA/script to start the following charts in a separate window automatically?!

    thanks.
    No that attribute is not available on MT4.

  2. #2
    Another question. . Is it possible to start out chart windows from an script/EA?

    For instance the scanners results are EURUSD and CADCHF and now I want the EA/script to start out the following charts in a separate window automatically?!

    thanks.

  3. #3
    Quote Originally Posted by ;
    Is thier a way to add a label for every pair or something
    if you utilize these for some of those futures some of those symbles
    are not simple to bear in mind is will be nice to find a title like
    ticker (FTSE) is Footsee
    Yes you can, simply add a different user inputs for every single group called maybe nickname or something. Then allow the label show this as it is text rather.

  4. #4
    Is thier a way to add a label for each pair or something
    if you utilize these for a number of the futures a number of the symbles
    are not simple to remember is would be nice to see a name like
    ticker (FTSE) is Footsee


    Quote Originally Posted by ;
    some very basic time-based watchlist using script is something like this.

    Put the blank_window. Tpl from the folder, then set the RSI_Watchlist. Mq4 from the folder.

    Open any chart, load the template. Then attach the script to the chart. Click ok after you're done using the settings.

    regards,
    Zen

  5. #5
    Quote Originally Posted by ;
    sorry but can you tell me what it is with the PairVerified boolean?

    Sorry for all of the queries
    That's a fail safe check the code conducts. Every currency pair configurations ought to have a legitimate Currency Pair symbol(), a valid timeframe and an RSI period larger than 0.

    I utilize MarketInfo(CurrencyPair[I],MODE_BID) to attempt to retrieve the BID of this currency pair provided by the consumer input. If it yields something larger than 0, then that means the symbol given is present in the record the broker supports. The 2 values can be contrasted as is.

    The script just display info where all 3 configurations of this currency pairs are legitimate. Instead of doing the very same checks over and over again, I have it look at the PairVerified[I] value to see whether it's true. If it's false, do not process this pair.

    This is to prevent user input mistakes like a logo typo that will cause non-stop error messages to be thrown.

    regards,
    Zen

  6. #6
    He is is


    Quote Originally Posted by ;
    yes exactly... are you willing the share it?
    https://www.forexforum.co.za/attachm...1752025997.mq4

  7. #7
    Quote Originally Posted by ;
    if (MarketInfo(CurrencyPair[I],MODE_BID) gt; 0 TimeFrame_Str[I]! = RSI_Period[I]gt;0)

    PairVerified[I] = true;
    sorry but can you inform me what it is with all the PairVerified boolean?

    Sorry for all the questions

  8. #8
    Quote Originally Posted by ;
    what do you mean with buffer handling? Can I get a buffer overflow when I let the script run into an infinite loop?
    I'm unsure how to explain this. However, I think you do not need to worry about this because you're not drawing a line or histo like most other indiors.

    Quote Originally Posted by ;
    Thank you for the RSI Watchlist. Does it update the not underlying pairs?
    Of cos..

    regards,
    Zen

  9. #9
    what do you mean with buffer handling? Do I get a buffer overflow once I let the script run into an infinite loop?

    Thanks to the RSI Watchlist. Does this update the not pairs?

    thanks a lot!

  10. #10
    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.