Questions from Beginners MQL5 MT5 MetaTrader 5 - page 400 1...393394395396397398399400401402403404405406407...1605 New comment Vladimir Karputov 2015.08.02 10:10 #3991 -Aleks-: Thank you. Can I get the ID of the last chart created by a user or another script that stopped working?When a new chart is created, no event occurs, so all open charts must be scanned periodically. We have to use:ChartFirstReturns chart ID of the first chart of the client terminalChartNextReturns chart ID of the next chart Any rookie question, so change timeframe of all Any questions from newcomers Aleksey Vyazmikin 2015.08.02 11:09 #3992 Karputov Vladimir: When a new chart is created, no event occurs, which means that all open charts must be scanned periodically. We have to use:ChartFirstReturns chart ID of the first chart of the client terminalChartNextReturns chart ID of the next chartGot it, thanks.Another question, how to call iCustom on a new chart previously created using the script? Leanid Aladzyeu 2015.08.02 22:18 #3993 How do I write a condition to open an RSI order from the 30/70 level ? Will iRSI do? Or will I have to write a function to calculate the indicator value? <br / translate="no"> Aleksey Vyazmikin 2015.08.03 01:08 #3994 Leanid Aladzyeu: Try it :) A lot depends on the strategy as well... Vladimir Karputov 2015.08.03 06:22 #3995 -Aleks-: Got it, thanks.And another question, how do I call iCustom on a new chart previously created using the script? I need to create an indicator handle for the new chart symbol, thenChartIndicatorAdd- add this indicator to the new chart. Vitalie Postolache 2015.08.03 07:54 #3996 The code of the page is 404 ))) Aleksey Vyazmikin 2015.08.03 07:59 #3997 Karputov Vladimir: You need to create an indicator handle for the new chart symbol, thenChartIndicatorAdd- add this indicator to the new chart. I forgot to tell you - I need to do this on 4 - there is noChartIndicatorAdd Vladimir Karputov 2015.08.03 08:06 #3998 -Aleks-: I forgot to say - I need to do this on 4 - there is noChartIndicatorAdd Forgot to answer - switch to MetaTrader 5 :). Vitalie Postolache 2015.08.03 09:31 #3999 Karputov Vladimir: Forgot to answer - switch to MetaTrader 5 :). I forgot to ask why an indicator has to be added to the chart to call iCustom() )) Vladimir Karputov 2015.08.03 09:40 #4000 Vitalie Postolache: I forgot to ask, why do you need to add an indicator to the chart to call iCustom() )The question was originally asked: Forum on trading, automated trading systems and trading strategy testing Questions from Beginners -Aleks-, 2015.08.02 11:09 Got it, thanks.And another question, how to call iCustom on a new chart previously created using the script?And I understood it this way: you want to attach a custom indicator to the new chart. Libraries: Expert Features of the mql5 Discussion of article "How 1...393394395396397398399400401402403404405406407...1605 New comment
Thank you. Can I get the ID of the last chart created by a user or another script that stopped working?
When a new chart is created, no event occurs, so all open charts must be scanned periodically. We have to use:
ChartFirst
Returns chart ID of the first chart of the client terminal
ChartNext
Returns chart ID of the next chart
When a new chart is created, no event occurs, which means that all open charts must be scanned periodically. We have to use:
ChartFirst
Returns chart ID of the first chart of the client terminal
ChartNext
Returns chart ID of the next chart
Got it, thanks.
Another question, how to call iCustom on a new chart previously created using the script?
Got it, thanks.
And another question, how do I call iCustom on a new chart previously created using the script?
You need to create an indicator handle for the new chart symbol, thenChartIndicatorAdd- add this indicator to the new chart.
I forgot to say - I need to do this on 4 - there is noChartIndicatorAdd
Forgot to answer - switch to MetaTrader 5 :).
I forgot to ask, why do you need to add an indicator to the chart to call iCustom() )
The question was originally asked:
Forum on trading, automated trading systems and trading strategy testing
Questions from Beginners
-Aleks-, 2015.08.02 11:09
Got it, thanks.
And another question, how to call iCustom on a new chart previously created using the script?
And I understood it this way: you want to attach a custom indicator to the new chart.