Run an script without attach it to a chart?

 

Hello folks, I would like to know:

1: is it possitble to run an script without attach it to a chart?

2: is it possible to run more than one script at the same time?


thanks in advance, Cyberglassed.

 

Scripts are loaded immediately after they are attached to a chart and unloaded immediately after they complete their operation.

https://www.mql5.com/en/docs/runtime/running

If there is a way too cool for me

Documentation on MQL5: MQL5 programs / Program Running
Documentation on MQL5: MQL5 programs / Program Running
  • www.mql5.com
MQL5 programs / Program Running - Documentation on MQL5
 

https://www.mql5.com/en/docs/runtime/testing#math

if you want Math calculation The tester in the MetaTrader 5 terminal can be used, not only to testing trading strategies, but also for mathematical calculations. To use it, it's necessary to select the "Math calculations" mode

Documentation on MQL5: MQL5 programs / Testing Trading Strategies
Documentation on MQL5: MQL5 programs / Testing Trading Strategies
  • www.mql5.com
MQL5 programs / Testing Trading Strategies - Documentation on MQL5
 
cyberglassed:

Hello folks, I would like to know:

1: is it possitble to run an script without attach it to a chart?

2: is it possible to run more than one script at the same time?


thanks in advance, Cyberglassed.

1. No

2. Yes but on different charts.

 
angevoyageur:

1. No

2. Yes but on different charts.

thank you angevoyageur
 

That was the most strange question I have had ever read about metatrader.

But just a small notice ... some scripts can work forever as long as they are on chart ... The do even money management for using a % of balance/equity. 

I'm saying this because some of script users thought that scripts do just once action and stop, i.e, it works as EA but no indicators are used of course.

 

not so strange to me.

this is exactly my question these days, but probably no change up to now.

I would want to run a script from a script.

It would be super nice to be able to run scripts like this.

Something almost like functions

 

I would want to run a script from a script.

No problem is it is not needed input paramethers - need just use API function.