No that attribute is not available on MT4.Originally Posted by ;
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.
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.Originally Posted by ;
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
Originally Posted by ;
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.Originally Posted by ;
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
He is is
https://www.forexforum.co.za/attachm...1752025997.mq4Originally Posted by ;
sorry but can you inform me what it is with all the PairVerified boolean?Originally Posted by ;
Sorry for all the questions
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.Originally Posted by ;
Of cos..Originally Posted by ;
regards,
Zen
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!
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.Originally Posted by ;
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