forex software

Create and Test Forex Strategies

forex software

Skip to forum content

Forex Forum

Forex Software, Forex Strategies, Expert Advisors Generator

You are not logged in. Please login or register.


Forex Forum → Expert Advisor Modifications → Adding a closing logic condition

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 6

Topic: Adding a closing logic condition

Good day

Is it possible to add extra closing condition for Ichimoku Kinko Hyo?
I want to exit the market when price close below Tenkan Sen for a long position and close above Tenkan Sen for a short position.
Thank you

Re: Adding a closing logic condition

Maybe this will help
https://forexsb.com/forum/post/27191/#p27191

Re: Adding a closing logic condition

Thank you, much apriciate it.

4 (edited by dewetboys 2019-05-25 15:58:11)

Re: Adding a closing logic condition

Good day
I managed to download the file to my Forex Strategy Builder and it is showing on the editor, however I am getting the following errors when I want to create my EA

Cannot find the following indicator: Ichimoku Hyo M
Expert Advisor is not exported. Cannot create the expert file.

Not shure if I am missing a step?

Re: Adding a closing logic condition

Download .mqh file from the link below and put it in the respective folder (\Forex Strategy Builder Pro\User Files\MT4 Files\MQL\Forexsb.com\Custom).

https://forexsb.com/forum/post/31971/#p31971

Re: Adding a closing logic condition

Thank you for your assistance Footon

I have managed to follow the instructions and can now save the Stratagy as an EA, however my Exit signal is still showing undefined in Overwiew:

Closing (Exit Signal)
Close an existing long position at the end of the bar when the following logic condition is satisfied:

Not defined.
Close an existing short position at the end of the bar when the following logic condition is satisfied:

Not defined.

It is showing in the BB code.

[Closing Point of the Position]
     Bar Closing
     Exit the market at the end of the bar
     Base price  -  Close


[Closing Logic Condition]
     Ichimoku Kinko Hyo M
     The bar closes below Kijun Sen
     
Is there anything that I am missing or did not select?

Posts: 6

Pages 1

You must login or register to post a reply

Forex Forum → Expert Advisor Modifications → Adding a closing logic condition

Similar topics in this forum