MENTDB
Data Driver & Automation - Weak & Strong AI
BACK
Getting started with the MQL editor
Here your MQL Editor
All your connections
Manage users, groups, jobs, sequences and global parameters
Add a new script
Source code
script create get|post|put|delete|conf|exe "folder.folder.your_script_name" false 1

  (param
  	(var "[v1]" {true} "description ..." is_null:true is_empty:true "10")
  	(var "[v2]" {type is_double [v2]} "description ..." is_null:true is_empty:true "20")
  )
  "description ..."
{
	
	#Your MQL source code here...;
	
} "Return ...";
Source code
#The script is saved into the 'math/addition' folder;
#The method of the script is 'exe' (get|post|put|delete|conf|exe);
script create exe "math.addition" false 1

  (param
  	(var "[v1]" {true} "description ..." is_null:true is_empty:true "10")
  	(var "[v2]" {type is_double [v2]} "description ..." is_null:true is_empty:true "20")
  )
  "description ..."
{
	
	+ [v1] [v2];
	
} "Return ...";
Update and save the script
Execute the script
The result