@anselem Have you tried putting a pink once per position/order block in before close partially?
Posts made by jstap
-
RE: Partial TP once not alwaysposted in Questions & Answers
-
RE: How to create double cross MA bot?posted in Questions & Answers
@gtoat777 Yes you can use a bool condition to hold a position until it's relevent or not. Basically a condition block with MA < or> MA, then a condition block with X< or X> will give you the conditions to cover this, use as many condition blocks with < or > and different candle ID's. If you need a cross one way=t then the other you will need to use something like a flag or bool conditions.
-
RE: How to create double cross MA bot?posted in Questions & Answers
@gtoat777 bool = true/false, double = number with decimal like 0.0, int = whole number like 12,34, string = text, color = colours. this covers most. If you learn these then you'll have a good idea of when to use what.
-
RE: daily profit target helpposted in Questions & Answers
@kenya254254 https://fxdreema.com/shared/CLfwZDRKd, this is checking history and current trades.
-
RE: How to create double cross MA bot?posted in Questions & Answers
@gtoat777 Other blocks in there are useful but not connected, 73-90 is what is required to create an EA that does what you require, you have to decide the conditions to use to make the EA, make a start and ask about any problems you are having so things can be assessed.
-
RE: How to detect an object on Current Chartposted in Questions & Answers
@abdul-wahab As @l-andorrà has said indicator buffers are the simplest and most effective way to do this, if you can't check your MT4/MT5 object list to see what information can be used, if the desired information is in the data window you can possibly use the iCustom function with custom code but this is quite advanced.
-
RE: daily profit target helpposted in Questions & Answers
@kenya254254 @l-andorrà I have just changed these block numbers to 1 & 2 and all is working as required.

-
RE: Fractals Indicator not taking any trade on MT5posted in Questions & Answers
@santhoshabraham You can use 0 for cross but would need to be high or low, fractals appear on candle 2 or 3 so will never be on 0.
-
RE: daily profit target helpposted in Questions & Answers
@kenya254254 I an not sure why this doesn't work, https://fxdreema.com/shared/8EVePrfnd, once per day it resets the hours but not the bool trade, this prevents other trades opening. Maybe someone else can see why it's not working, if you send this to the admin they may be able to fix the problem.
-
RE: daily profit target helpposted in Questions & Answers
@kenya254254 Have already done it in the last post?
-
RE: 1 trade at the time in the whole accountposted in Questions & Answers
@dthtdyh95 No trade block at top, set for all trades and all symbols.
-
RE: example please . EA MULTI PAIRS SAME TIMEposted in Questions & Answers
@marquillos21 Your question is limited for what you want. When a buy/sell is placed you can t off and place another with a different asset in side the block, you can do this for more tan 1 asset. Put a shared link here and problems can be assessed.
-
RE: How to create double cross MA bot?posted in Questions & Answers
@gtoat777 In there your firs condition becomes false when you second becomes true.
In HERE is an updated version, at this point is where you need to decide how many candles you use in each condition, and what conditions you use to reset. the way you had can be use to achieve this but is restricted to what happens on specific candles, or you can use the yellow dot to check different conditions, you will just need a lot of blocks and is not easily changeable in your inputs.
-
RE: daily profit target helpposted in Questions & Answers
@kenya254254 Not sure why but that setup works on mt4 but not mt5, THIS is working.
-
RE: MACD High/low or MACD crosses 0posted in Questions & Answers
@andrewfrank The loop will give you the current candle count (range) macd is <> 0, checking for a value with market properties will give you the ID/value of a condition in this range.
-
RE: MACD High/low or MACD crosses 0posted in Questions & Answers
@andrewfrank You would need another variable, this will give you the highest value since the cross.
-
RE: MACD High/low or MACD crosses 0posted in Questions & Answers
@andrewfrank I mean put the loop variable into the end candle ID cell, by using the candle id you are limiting result to 1 candle, if the candle low is the highest macd then it will work but very restrictive.
-
RE: Help with Limit Ordersposted in Questions & Answers
@suyirich Put a no pending order at the top, this will limit to one order, you will struggle to get a candle close on 0, as it closes it becomes 1.
-
RE: MACD High/low or MACD crosses 0posted in Questions & Answers
@andrewfrank If you use that loop and put the variable in the end candle of market properties, you will get the candle value from that range. Normally use a different variable with a different calculation, otherwise conflicts will happen.