Dannoo007
Dannoo007
Friends 1
Dannoo007
Added topic closing an order based on EA of another chart
Hello boys, So my setup is as follows: one chart (with its own EA) is opening the primary order, while a second EA runs on another chart (same symbol) - for hedging and other purposes. The bit below is part of the secondary (hedging) chart and EA
Dannoo007
Added topic Keep order info beyond closing of order
Hello forum, So I am looking to incorporate the following logic into my EA: 1)Record time of opening Order A 2)keep it and work with it....... until 3)new Order B is opened. I did 1) via selecting the order in MODE_TRADES and recording the time etc
Dannoo007
Added topic selecting last closed order, from History (doh!)
OK, I am sure this must have been discussed before, but I could not find it to save my life.. so, what else do I need to add below, so to select from history the order just closed (ie the latest addition to history)? (I want to create an object
Dannoo007
Added topic heavy processing of indicator
Hi Forum, To not highjack other ppl's recent thread and more specifically: I found this Support/Resistance indicator in the Forum (props to the Author!) and I am planning to give it a try. One thing is bugging me though: the launch of the MT4
Dannoo007
Added topic this Sleep() ....
Hello forum, It saw some issues in the past with Sleep(), but before I move on to alternatives (eg https://www.mql5.com/en/articles/1558 ) I am also not sure I got it right. Two issues: 1) In this EA I want to delay the buy/sell signal by 5 seconds
Dannoo007
Added topic ordertype - static variable - what kind of variable?
Hello forum, I am looking into creating this static variable containing the type of last order just closed (returning OP_BUY, OP_SELL, etc), I am calling it, say, LastOrderTYPE - for further use as a condition for next opening. market is closed for
Dannoo007
Added topic Q: computation/execution statistics
Hello forum, Is there any tool available out there to monitor order execution , both in terms of 1) COMPUTING performance (split seconds of processing ticks by the EA, sending orders, related ping/connection speed metrics etc. 2) EXECUTION by
Dannoo007
Added topic quick question: creating a static variable
Hello forum, Market is closed for testing, but I am looking into creating this static variable, to capture the value of OrderOpenPrice for subsequent use (ie, once the current order is closed by SL, the previous level is kept as reference), for
Dannoo007
Added topic self-loading presets.set - possible in EA?
Hello forum, 1) I was wondering, is it possible at all to have the EA automatically self-loading a certain presets, for example if (CONDITION A) {load file "PresetA.set" into the EA} if (CONDITION B) {load file "PresetB.set" into
Dannoo007
Added topic hedging across charts- can it be automated?
Hello there, I am currently using this simple hedging tactic, which implies entering oposite signal trades from one chart when certain things happen with an already open order in another (same symbol and timeframe). Is there anyway I can automate
Dannoo007
Added topic marketinfo: what is the code for "sign of last price change" (+/-)
Hello all, Newbie here (bear with me) - I thought there should be some marketinfo constant to return the direction of last price change, I looked into this but could not sort it out: so what would you suggest as code for returning the sign of the
Dannoo007
Added topic EA tweak: Stop trading after Stop-loss hit
Hello forum, I have a pretty cool EA from a programmer (I am quite new at this), by the good old logic: if CONDITION A, open if CONDITION B, close but I would like to add a little tweak, as follows: if CONDITION A, open if: 1) CONDITION B, close; or
12