Not logged in
Viewing 2 posts - 1 through 2 (of 2 total)
  • #112211 |
    Participant
    2 Posts
    Can someone explain  how to add to my strategy  script.
    I want this:    if …….. then run script (Binary Call)
     
     
     
     
     
     
    Attachments in this forum are visible only for registered users.
    Attachments in this forum are visible only for registered users.
    #124709
    Mark Fric
    Administrator
    1182 Posts

    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 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.