add script
1 replies
hero
9 years ago #112211
Mark Fric
9 years ago #124709
Hello,
you can copy the function from Binary CALL.mq4 file to EA WIzard/code/CustomFunctions.mq4 file. This will make it included in every EA created by the Wizard.
You can then use THEN -> Other -> Custom Action
to call this function with the correct parameters.
For example:
Custom Action: takeTrade(direction,assetName,tradeSize,”60SEC”,clientAPI,scriptName,DoubleToStr((Bid+Ask)/2,Digits));
where you have to create direction, assetName, etc. as variables in EA Wizard or replace them with fixed values.
Mark
StrategyQuant architect
Viewing 1 replies (of 1 total)