i am talking about manually placed pending orders that i want to delete when profit is reach
Posts made by Eric
-
RE: Close manually opened trades with EAposted in Questions & Answers
-
RE: Close manually opened trades with EAposted in Questions & Answers
Having problem with "delete pending orders"
With one broker it works fine and close open trades and delete pending orders, but with another broker it only close open trades but pending orders stays open?
i attached the "delete pending orders" to the same output the goes to "close trades"
so is this something that can be fixed with another block or what?
-
RE: Close manually opened trades with EAposted in Questions & Answers
i think i found what i was looking for here https://fxdreema.com/forum/topic/5214/help-wanted-please?page=1
-
RE: Close manually opened trades with EAposted in Questions & Answers
@eric and of course also close all pending orders
-
Close manually opened trades with EAposted in Questions & Answers
Is it possible to close manually opened trades with EA when total profit reach a certain value?
Say i open multiple buys and sells in EURUSD and i want to close all when total profit is "x" pips
(or if total loss is "y" pips)
-
RE: Another trade executes after take profit was hitposted in Questions & Answers
It depends on the system
but i some case you can close partially with TP and leave a small position running to be closed with an other sell condition
-
RE: Broker busyposted in Questions & Answers
" 500 ms or even 1000 ms delay in most cases."
Yes, something like that should be ok?
-
RE: Broker busyposted in Questions & Answers
If i understand it right, at the last block (buy,sell and close trades) it try many times under a short period of time if the order dont get through at the first time?
If so, would it be possible to add an option to this blocks how many times it will try or a delay in seconds between each try?
The problem is that it fills up the logs if the broker having problem or the spread is to big
(and i get an e-mail from one broker that it can happen that EA-trading is stopped during news) -
RE: Custom indicatorsposted in Questions & Answers
Is it server time (same as chart)?
I've tried candleclose cross over highest price (hours period) but it opens to early before the period ends?
I used time frame current and 5 min on the chart and the "highest price hours period" over 2 hours time
-
RE: Custom indicatorsposted in Questions & Answers
Does anyone know of a existing breakout indicator with a buffer for the high and another buffer for the low for a certain period of time?
like this one? (but this one have only one buffer)
-
RE: Once per barposted in Questions & Answers
"Check if trade was closed in this bar"
Yes something like that, but this may work also i will try it

"check last trade's close time with For each Closed Trade (set Not more than n trades to 1) -> check age (set it to close time)."
-
RE: Once per barposted in Questions & Answers
I have a buyside,
no trade is running > condition > once per bar > buy
and for exit
for each trade > once per bar > modify stops
and the same for the sellside and i can have a buy position and a sell open at the same time and wait for the exit (stop get hit)
now the problem, if i am in a buy position and get stopped out i want to wait for the next bar to open before any new buy
can i put something between once per bar > buy?
-
RE: Swing Trade EA using Heikin Ashiposted in Questions & Answers
__0, 2 and 3 sounds weird, where is 1 in the picture. Maybe the indicator has some issues, I don't know. Otherwise I use some FractalChannel with only 2 lines (red and blue), 0 input parameters and 2 buffers (0 and 1)... this one actually http://codebase.mql4.com/582[/quote:37wg393v]
I try this one (i dont use the mid-line anyway)
I get 3 buffers
0 Support
1 Buffer1
2 ResistanceAnd when i test it
0 Fractal high
1 Fractal low
2 nothing?It a bit confusing that "support" is Fractal high but after testing it with indicator tester it is no problem
just use the one that is on the right place 8-) -
RE: Swing Trade EA using Heikin Ashiposted in Questions & Answers
About the fractalchannel i dont know if it is the same version mine has a middle band?
just to mention if any one else have the same problem that i got after the metatrader updates? compile?
But now the buffers has change place i now use buffer 0 for high and buffer 3 for low (and buffer 2 for middle)
Indicator tester is a good tool

-
RE: Zero Divideposted in Bug Reports
I use fxdreema build 074 16 February (metatrader 4 build 610) and i get this zero divide and markets does not exist when try to attach an EA on a CFD
I think it has something to do with the digits on the quotes?
With forex and SP500 it works fine (sp500 1840,1 - 1840,5)
but with US30 and whole points spread (16 178 - 16 182) i get error on the first tick
-
RE: MetaTrader 4 Build 600 with Updated MQL4 Languageposted in Bug Reports
__hi, my build600 is not recognizing the mql files and ex4 files produced by dreema.
i'm using the online version. its a shame i just joined the site and started enjoying being able to build some EA's.please help[/quote:13xmftj6]
try this?
start MT4
open file > open data folder > MQL4 (and paste)
close and restart
-
RE: Invalid priceposted in Questions & Answers
Its a new metatrader version on the way
maybe its works better with that one? i will wait and see what happens
(i have another broker that works fine) -
RE: Invalid priceposted in Questions & Answers
Its a broker related problem (CFD only) and i have told them but to no use
The problem is that bid and ask works fine and the EA open a position
but when the EA try to close the position i get the error 129 invalid pricei think its because the price in the terminal window does not update on every tick
(the price on the position and the running profit/loss freeze)