Exiting a Trade using an Indicator.
-
T o anyone who can help, I am currently working on an EA that uses the Demarker indicator to exit a trade so that any time there is an open trade and the Demarker crosses below the 0.700 level, the trade closes. It however seems not to work. Kindly assist.
The link to the project: shared/PXjeHiM3e -
@6ixpappi Hello,
The link doesn't seem to lead anywhere.
Did you want the EA close all the trades that were opened manually by you or opened automatically by the EA?
-
@q8carpenter Just the ones opened by the EA
-
@6ixpappi could you please share the link to see where the error may be?
Because this is supposed to be a simple thing.
All you need is a condition block with the demarker indicator and value, followed by a close trades block
-
-
@6ixpappi
I'm using a mobile browser right now so I'm not able to check each block, but there is one problem that is obvious ... just disconnect block 4 from 5 and keep the chains as 2 separate ones. One to open a trade, and one to close.So for now just disconnect block 4 from block 5 and run it.
-
Ok Thanks