@talalkhan This will do it, you should see enough to create both options you require.
Posts made by jstap
-
RE: Conditional Stop Loss For Accountsposted in Questions & Answers
-
RE: Auto and Fixed Stop-Lossposted in General Discussions
@l-andorrà Because I read the question wrong, @Paihdt in the buy /sell block you set the standard sl, then as picture for trail but you only need 1 trail block.
-
RE: EA Waites for the next bar to open tradeposted in Questions & Answers
@daniel208forex As long as indicator buffers are correct, this will check candle 3 for a correct condition, then check candle 2 for the condition, then wait for candle 1 to close, then place a trade on the forming candle 0. Is this not what you want/expect the EA to do?
-
RE: Counter and Global Varposted in Questions & Answers
@holygrailfx Global variables are terminal variables in FX, if this needs removed for a certain condition you can get the code to add to a custom block from google.
-
RE: how to make trade open at opening of the next candle if last trade closed in Middle of the Candleposted in Questions & Answers
@deja12 This will probably do it, not tested though, if your conditions need to be more specific then use variables to define range, you can also the mid price for the candle.
-
RE: Put an opposite order per trade receivedposted in Questions & Answers
@uriel-0 This is what mean and it does work, you don't need the pass blocks, change the buy tree to sell trade created. Have you got a trade placed on the on tick function? this will only work if the opposite trade is placed.
-
RE: Auto and Fixed Stop-Lossposted in General Discussions
@paihdt This will show you an example of what I mean, if fast ma is above slow ma 1st trail will be active, if fast is below slow other trail will be active.

-
RE: I Want To Correction In My Zigzag EAposted in Questions & Answers
@talalkhan Above no trade 2 you need an if trade 1, then you need a indicator for the amount of bearish candles, then 1 for amount of bullish candles.
-
RE: TP maxposted in Questions & Answers
@bagheria Pink for each trade block, condition block with trade sl, is below market properties price, pink modify stop block.
-
RE: I Want To Correction In My Zigzag EAposted in Questions & Answers
@talalkhan Put a shared project and explain what it's not doing.
-
RE: I Want To Correction In My Zigzag EAposted in Questions & Answers
@talalkhan This is a personal choice, you have done enough on fx to work this out, test and if not doing what you want, change and test again.
-
RE: Only take trades if entry candle is >3x current ATRposted in Questions & Answers
@yyaanniicckk Put all the conditions in a comment block, this will tell you how and what is causing the issue.
-
RE: I Want To Correction In My Zigzag EAposted in Questions & Answers
@talalkhan Your conditions for 2 need to have this set.
-
RE: I Want To Correction In My Zigzag EAposted in Questions & Answers
@talalkhan You have your conditions set to allow this, set to only allow what you want.
-
RE: Put an opposite order per trade receivedposted in Questions & Answers
@uriel-0 On trade tab, purple trade created block, underneeth the opposite buy/sell.
-
RE: I Want To Correction In My Zigzag EAposted in Questions & Answers
@talalkhan Yes but make sure groups are set in all relevent blocks.
-
RE: EA Waites for the next bar to open tradeposted in Questions & Answers
@daniel208forex Put a shared link on here and the problem can be checked. Your conditions are probably set to candle1
-
RE: Auto and Fixed Stop-Lossposted in General Discussions
@paihdt You need to set a condition above the first sl and a condition above the second sl, done in a way that your 1st is deactivated as second starts.


