@amin Is your trade manager "managing" manual opened trades or opened by an EA?
Posts made by trader.philipps
-
RE: MACD true signal line crossposted in Questions & Answers
-
RE: Stops/adding variables?posted in Questions & Answers
@chemdog Haven't tested this, but should work like this.

I have defined an integer veriable "loop" for counting the cycle.
Modiy Variable block first resets the loop variable to 0
In the bear candle check condition I add +1 on every entry (white dot)
Iconnected yellow point to white point on condition block.
Once orange block (bear candle found) is hit, the loop exits and the last value of loop is the candle ID.Does that make sense?
-
RE: Stops/adding variables?posted in Questions & Answers
@chemdog I think, if you looped back and found your last recent bear candle, you might check if that one is a recent low - which would be the case if the lows to the left and to the right are higher.
Maybe you would just look to the left in order to find the "relevant" bear candle.If you know the candle ID of the bear candle to trade, it's relatively easy to get all the infos you need such as candle size and candle low.
In order to get the lowest low of a period there is a a way to easily get this.

The other calculations may look like this ...

your_bear_candle_ID would be the resulting ID of your loop and you'd store that in a variable as well, which you would place where I just wrote the text.
-
RE: Different results with different computerposted in Bug Reports
@nikolas_m_s Tick data may be the issue. You may have different results with 2 instances of MT on a single PC.
-
RE: Stops/adding variables?posted in Questions & Answers
@chemdog Just to check, if I got you right ...

Candle 0 is the current, where the high of the last bear candle was broken.
SL should be the lowest low since that time or the low of the bear candel?However, first you need to loop to find the last bear candle. at the moment you just check if candle ID 1 was a bear candle, right?
If you know the last bear candle ID, you want to get the lowest low (of that candle) or the lowest low (of the candle since that time).Did I get that right?
What about a situation like this (just for bear candle determination)?

Which one would be the bear candle that defines the breakout? the big one or the one after?
Which would be the low to take? the lowest low since one of the bear candles or the last bear canlde (smaller one after big one?)Just want to make sure.
In any way you may need to loop to find the last bear candle's ID or the relevant one. Then you know the breakout level and can calculate ypur SL and TP which at least in you screenshot appear to be the candle size of the bear candle. Right?
-
RE: when candle move ( buy / sell pending limits and stop move too ) , how ?posted in Questions & Answers
@moon What is the base for calculation? candle high/low of previous candle? Candle close of previous? Your image is not clear for me.
-
RE: Close EA after tradeposted in Questions & Answers
@mannybear1 PASS is like a sub-routine. I use it as a starting point. Depending on the block number it will be executed befor or after other starting or solo blocks. It helps to do certain calculations or condition checks that other blocks may use.
For instance I made 1 block for controling the trading time. This blocks activates the "order open block" If condition is met. -
RE: very helpfulposted in Questions & Answers
@gunji80 I think your broker will give you a call :)) Each tick you try to adjust the SL 1 or 2 times. I think there is a flaw in the logic.
The BE block 13 shouldn't be called that often.
The current logic as I understand is, ...
a) if price moves 1 pip in favour of your trade, you adjust (by trailing stop block) 40 pips away
--> This goes on until your trade made 15 pipsb) At 15 pips profit, the next time a tick makes 1 pip profit more, you adjust SL again 40 pips away (concrete example 16 pips in profit -> SL 24 pips loss
c) Next tick you set BE again
.. and so on
Is that your intention?
If you want to trail from the opening of the trade, what fore you need BE? Maybe you can describe what you want to achieve a bit?
-
RE: QUESTION ABOUT BETTING AND LOOP!posted in Questions & Answers
@43275529 It's still the wrong link you send around here. However, how should the EA know that the sequence is over? I personally don't use that MM techniques at all, but I'd think you need to use some kind of the bucket blocks. But as I said, I have no experience with it.
-
RE: Donchian channel breakout strategy does not run.posted in Questions & Answers
@blindfoldedmonkey are you using this indicator? If it's that one, there seems to be no crossing on candle 0 as the indicator extends it's value by new high / low. Instead you may use previous candle's value (ID 1) as a measurement. as @l-andorrà suggested.
-
RE: MTF Indicator Rising / Falling Advice neededposted in Questions & Answers
@vnpython-0 Thanks for your advice. However, it is a trend confirmation as trades should be opened in higher tf trend direction.
-
RE: modify a variable while earnigposted in Questions & Answers
@l-andorrà Good point. Instead of On Tick better use it in the on Trade tab and let it run when a trade is closed.
-
RE: Close EA after tradeposted in Questions & Answers
@mannybear1 What is not working?
@l-andorrà I think the empty variable block shouldn't stop the EA there. I'd rather guess not specifying a lot size (How much ... in Buy now) at least will make the buy orders not happen.
@Mannybear1 Do you see any errors when you let the EA run in the logs? -
RE: How ?posted in Questions & Answers
Is that a pullback strategie? You'd probably miss the first move when all emas are aligned as most times 30 > 60 for instance happens after the cross of 15 > 30 for a buy trade!
Just want to make sure as it has some evidence to the order of the condition blocks!
-
RE: Trend hunterposted in Questions & Answers
@sssorsss Okay, I understood. I'd create a new MT5 project and either copy & paste the blocks or you may try to import the mq4 file. Never tried, but maybe that works as well.
-
RE: how to trigger another OCO on buy/sell ?posted in Questions & Answers
@aleximart I think those events on "On Trade" tab is what you're looking for.
