I have the condition blocks and that works fine. What doesn’t work is the EA to react when a new low after entry is made. I wanted to use lowest price with candle IDs but how do I know which ID the candle has, where I opened the trade?
Posts made by SirLuk
-
RE: Stop moverposted in Questions & Answers
-
Stop moverposted in Questions & Answers
Guys, I've been working on a solution to move my stop loss automatically for so long now and I just can't do it. Can anyone more advanced give me a good solution? What I want is this (sell example):

Entry is the green line. As my trade goes into profit and price then pulls back above the 10 and 15 EMA, I want to move the stop loss to 1 pip above the pullback when price makes new lows (blue line). Not before...so as long as there is no new low, I don't want SL moved. Also, I only want the stop to be moved, if the new stop is in profit...so the highest point of the pullback has to still be in profit.
Could anyone show me a tree that can do that...I've really been at this since ages and just can't get it to work. Thanks a lot!
-
Use an indicator from tradingviewposted in Questions & Answers
Hi guys. I am working on an EA to trade the Nasdaq. I use a VWAP indicator for that, which needs QQQ to give accurate signals. As you know, MT4 doesn’t have QQQ. Is there any possible way to copy the VWAP indicator signals I receive on tradingview and plant them into my EA on MT4? Probably not, but worth asking…
-
RE: Where is my mistakeposted in Questions & Answers
@jstap I don't know what you mean exactly. Could you show me? Thanks.
-
Where is my mistakeposted in Questions & Answers
Hi. So here is a shared link to my EA that should automatically move stops to the last time a candle closed above the 10 and 15 EMA, if the highest point of that pullback (blue line) is lower than entry price (yellow line) and price makes a new low since entry: https://fxdreema.com/shared/XGUobnOHd
Can anyone tell me, why the stop was not moved to the blue line when price made a new low? There must be a mistake in my logic somewhere. My suspicion is that there is something wrong with the candle counter?

-
RE: Condition login numberposted in Questions & Answers
I found the mistake. Forgot one variable. Problem solved. Thanks anyway.
-
RE: Condition login numberposted in Questions & Answers
https://fxdreema.com/shared/lhEweHkvd There is some kind of mistake somewhere that makes the EA not able to start in Mt4.
-
Condition login numberposted in Questions & Answers
Hi. I would like the EA to execute certain funtions only on specific accounts. I thought I'd use the condition block on top of my tree with "Account" - "Login number" like this:

But this does not seem to work. Can anyone tell me how to correct this?
-
RE: Giving sell/buy signal by phoneposted in Questions & Answers
@l-andorrà No, there is no second EA. The original EA just has an extra function: If some kind of signal comes by phone, enter a market buy/sell with pre defined stop and lot size. At the moment I do it by using "if pending order" block, that activates the buy/sell, since I never use them otherwise. I can do the buy/sell limit/stop by phone and the EA on the computer enters a trade at market price.
So what I'm looking for is something easier, but I could live with that.
-
RE: Problem with max lots per tradeposted in Questions & Answers
I mean deduct the actual risk from the intended risk of course...
-
RE: Problem with max lots per tradeposted in Questions & Answers
Is there maybe a block that checks total risk in a specified symbol? If yes, you could deduct the intended risk from the actual risk in a formula, put it in a variable and open another position with the variable as fixed cash risk?
-
RE: Last highest/lowest closeposted in General Discussions
@l-andorrà I know. I'm asking if the owner/programmer/developer could add that function.
-
Problem with max lots per tradeposted in Questions & Answers
Hi all. So I have a problem with the prop firm I'm trading with. They have a max lot size per trade of 40 lots. I trade the 5m chart and my execution requires me to be fast. I have an EA that calculates position size automatically and gets me in with the right size (always the same amount of money).
Is it possible to code an EA that if my trade is 40 lots, it checks the difference between the intended SL (say 3000$) and the actual SL do to the limit (say 2500$). The EA should then immediately open a second trade with same stop but only risking the difference...so in this case 500$.
Is something like that possible? This is way above my coding skills.
Thanks for any help!
-
RE: Need a guide on thisposted in Questions & Answers
Sorry man, I have a lot of work to do and two little kids who need my attention as well. You'll have to ask someone else.
-
Last highest/lowest closeposted in General Discussions
@fxDreema wouldn't it be possible to add the option "Highest/lowest close in X candles"...the same thing as already exists with Highest Price (candle period)? I've seen this question come up several times now. Thanks.
-
RE: Will my idea work?posted in Questions & Answers
I don't want to use names...I delete lines and add them all the time. It could be one line one day and 5 the next. Thanks for your help by the way!
-
RE: Will my idea work?posted in Questions & Answers
I thought the names are not important if you use "for each object". I could then select horizontal line as type and it would check every horizontal line I manually created, or not?
-
RE: Giving sell/buy signal by phoneposted in Questions & Answers
I just want my EA on my computer to enter a trade (with the specific lot size and stop loss that the EA uses) if I'm outside and not at my working station. Some easy way via phone. It has to be quite quick...I don't have time to calculate lot size etc. My EA does that. Just a quick way to tell it to "buy" now via phone.