Not 100% sure what you are trying to achieve, but I think you want to set the SL in your 1st block, and then subsequent trades are placed using pink blocks getting the last trade SL in a loop.
Posts made by jstap
-
RE: SL for first and last positionposted in Questions & Answers
-
RE: Get the "Open Price" valueposted in Questions & Answers
Use pink blocks to get the value, and normalize your block IDs
-
RE: kijunsen change directionposted in Questions & Answers
Create a loop from ID1 counting flat line, if ID0 is above the line is changing.
-
RE: Block "Order Moved" not working.posted in Bug Reports
Your answer from @l-andorrà is above, he is expecting a response from you
-
RE: increase macdposted in Questions & Answers
Create a project, add a shared link and ask what to do..
-
RE: How to add an entry every 5 candles?posted in Questions & Answers
You'll have to add a shared link, and say what's happening.
-
RE: Candle closing timeposted in Questions & Answers
What exactly do you mean? every candle on every timeframe closes at 9 o'clock...
-
RE: Function of "No trade"posted in Questions & Answers
No trade at the top like that should stop any trade from opening once 1 is open. If this continues restart the project from scratch.
-
RE: Help -SL and TP at moving average crossoverposted in Questions & Answers
Separate tree, fast MA crosses slow MA, close position
-
RE: How to add an entry every 5 candles?posted in Questions & Answers
I have tested using this to draw a candle every 5 candles, and works as expected: https://fxdreema.com/shared/75Ma1nJ7b
-
RE: Simple pending order from a horizontal line?posted in Questions & Answers
Try a no trade/order block on top.
-
RE: robot for Hedge !posted in Questions & Answers
Having this many blocks doing many things is fine, but it prevents you from seeing what tree is causing problems. Switch most off so you can test 1 setup, then once working add others back in.
-
RE: How to add an entry every 5 candles?posted in Questions & Answers
This is how you currently have this setup, if candle 0 is below the MA (which is the current price), and if the current price crosses above the envelope then place a trade (at maximum this only happens once a candle. Then separate to this, every X minutes place a trade. I think you want to combine blocks so EA is only doing what you want?
-
RE: How to add an entry every 5 candles?posted in Questions & Answers
That will work at the start of a candle if on the 1h chart, it will work every 5 hours, but conditions after this can stop things from working.
-
RE: How to add an entry every 5 candles?posted in Questions & Answers
That looks correct, you now need to connect that to your sell block
-
RE: please help me in hedgingposted in Questions & Answers
Add a shared link so we can see what's happening.