@sheeraz A condition block, or a once per bar block with a flag block underneeth.
Posts made by jstap
-
RE: Don't open new trade after TP hitposted in Questions & Answers
-
RE: Don't open new trade after TP hitposted in Questions & Answers
@sheeraz The flag looks wright but you cannot share between buys and sells, you also need something to reset back to true.
-
RE: Cross RSI to Stochastic at line 50posted in Questions & Answers
@flyfisher You have to use 2 condition blocks, one checking the RSI cross and one checking the stochastic cross. Create separate trees when RSI crosses set a flag to true, when the STO crosses set another flag to true, reset back to false whenever your trade conditions say so.
-
RE: Don't open new trade after TP hitposted in Questions & Answers
@sheeraz The flag is on the left in green, use set flag (bool/true/false), set to false under the purple block, on tick check bool flag before buy sell, reset back to true once per (daily) bar, or whenever you want trade to restart.
-
RE: Don't open new trade after TP hitposted in Questions & Answers
@sheeraz On the on trade tab, trade closed by TP (purple block) set flag, on tick tab check flag before buy/sell, reset flag when you want new trade.
-
RE: Average Price [BOTH SIDE]posted in Questions & Answers
@duepips Not too sure what but if you use bucket of trades one for each type and save in to separate variables then use a formula block to divide and put into a separate variable, put all into a comment block so you can check what's happening.
-
RE: ICUSTOM WRONG PARAMETER COUNT aftre del. INPUT & EXTERNposted in Questions & Answers
@archer Try this, create a variable and add this to a custom code block:
VARIABLE = iCustom(NULL,0,"name of the custom indicator",0,0);
in your platform run the indicator and open the data window , starting at 0 count down until you get to the number of the data you want, put this into the penultimate 0, make sure the created variable is of the same type.
-
RE: Entering a number to a variable during active tradingposted in Questions & Answers
@rodrigo-ortuzar Have the edit field with a random number rather than a variable, buy comment I mean pass block>comment block with the variable inside.
-
RE: Entering a number to a variable during active tradingposted in Questions & Answers
@rodrigo-ortuzar Like picture, put into a comment to see whats happwning.

-
RE: How can the trades in the EA below have common stoploss as the parent trades after closing partiallyposted in Questions & Answers
@od That's fine if it works as needed.
-
RE: Please help why some time the ea Buy 2 times Sell 2 times when it is in the condition even I put once per trade already how to not let the ea buy more than 1 time per trade?posted in Questions & Answers
@zarbitz if you only want 1trade put a no trade block on top.
-
RE: Entering a number to a variable during active tradingposted in Questions & Answers
@rodrigo-ortuzar Use a edit field, you can then get this number using object on chart.
-
RE: How can the trades in the EA below have common stoploss as the parent trades after closing partiallyposted in Questions & Answers
@od Remove the no trade block and put some logic in tree to replace the no trade blocks.
-
RE: How can the trades in the EA below have common stoploss as the parent trades after closing partiallyposted in Questions & Answers
@od Something like a flag under partial close, a separate tree with a different group, when there is not a trade running flag is set back to off.
-
RE: please helpposted in Questions & Answers
@emreizmir Under your modify stop's block set a flag to start trail, above trail check flag, reset when needed, maybe when no trade.
-
RE: How can the trades in the EA below have common stoploss as the parent trades after closing partiallyposted in Questions & Answers
@od If a partial trade is closed then an original group is still open, you will need to add a condition so when a trade is partially closed it all allows another group you've set up to than take trades.
-
RE: How can the trades in the EA below have common stoploss as the parent trades after closing partiallyposted in Questions & Answers
@od It says it uses the original attributes:

-
RE: Please help. does not know how to link upposted in Questions & Answers
@jerjer1223 With parabolic use 2 conditions, for buy condition 1 PSAR > candle 1 open (or close), for condision 2 PSAR < open candle 0.
