Download MetaTrader 5
To add comments, please log in or register
Make profit on MQL5 services. It's easy!
Ricky
128
Ricky 2009.07.14 10:31 

I hope someone could help me, i'm stuck. currently i learning to write EA.


2 problems:

  1. i try to save extern inputs into a file, i notice we can save extern inputs into "*.set" file located at ...\experts\presets\*.set (so how to do this?)
  2. how to load extern inputs from previous saved setting when an expert load? (im thinking to load the *.set file automaticly when EA load...)

Any help greatly appreciated :)




-so little time so many to learn...

Ricky
128
Ricky 2010.06.04 17:52  
ricx:

I hope someone could help me, i'm stuck. currently i learning to write EA.


2 problems:

  1. i try to save extern inputs into a file, i notice we can save extern inputs into "*.set" file located at ...\experts\presets\*.set (so how to do this?)
  2. how to load extern inputs from previous saved setting when an expert load? (im thinking to load the *.set file automaticly when EA load...)

Any help greatly appreciated :)




-so little time so many to learn...

I found my self now is useless using that kind method :) working on multiple and manual set file is work better, also its better to use global variables to migrates EA setting across other EA :)
Robert
207
Robert 2010.11.08 17:11  

Can I add option "presets" for the idicator? I want load my .set files for indicator not EA - in EA its simple. Is it posible ?

I hope it's in mt5 no problem :)

/
To add comments, please log in or register