song_song:
This one work fine as EA:
but below dont fine as an Indi:
Hi song_song,
ChartOpen() and ChartClose() function is part of chart operation. Please click this online doc https://www.mql5.com/en/docs/chart_operations. According to that, "All chart operations are allowed in Expert Advisors and scripts only.". So it's not a bug.
![Documentation on MQL5: Chart Operations Documentation on MQL5: Chart Operations](/i/community/logo_mql5_small.png)
onewithzachy:
well, thanks onewithzachy
Hi song_song,
ChartOpen() and ChartClose() function is part of chart operation. Please click this online doc https://www.mql5.com/en/docs/chart_operations. According to that, "All chart operations are allowed in Expert Advisors and scripts only.". So it's not a bug.
song_song:
my suggestion for mql5 guide:
list of function availability
function | availability | ||
---|---|---|---|
EA | Indi | Script | |
ChartOpen() | V | X | V |
ChartClose() | V | X | V |
... | ... | ... | ... |
Hi song_song,
Mmm ... I don't understand :(.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
This one work fine as EA:
but below dont fine as an Indi: