@vnpython-0 Yeah, I was thinking take the values by the indicator from the higher timeframe as is (specify in block). Hence I can easily calculate the slope.
Posts made by trader.philipps
-
RE: MTF Indicator Rising / Falling Advice neededposted in Questions & Answers
-
MTF Indicator Rising / Falling Advice neededposted in Questions & Answers
Hey folks,
I need an idea how to deal with my custom indicator which is multi timeframe aware. That means, if I put it on a lower timefrme chart, it generates some kind of stairs - just like this ..
I want to know if the indicator is raising or falling. As it's smoothed MA based, the indicator values per bar do not change much - one stair in the screenshot is about 1 or 2 pips maximum.
I tried with indicator rise and indicator fall blocks, but I didn't find a good setting that deals with the stairs.Does anyone has a different approach?
-
RE: Trend hunterposted in Questions & Answers
@sssorsss Looks good so far. I'd set on conditions block ID 1 on each MA, which means the cross happened on last candle.
Further you may check if there are open trades befor closing trades blocks, but maybe no need.
Last but not least, if you wait for MA cross last candle (ID=1), use once per bar block. Hence not so many unnecessary cycles have to happen (on each tick). -
RE: Buy-Sell EAposted in Questions & Answers
@satoriforex2k18 Ah, okay. Great that it works for you!
-
RE: Buy-Sell EAposted in Questions & Answers
@satoriforex2k18 So what's the issue? Always share your project in case you're facing problem!
-
RE: Not opening buy tradesposted in Questions & Answers
@berg3699 You need to formulate the conditions you are expecting. For instance you can set a maximum of trades to beopened or a SL for all trades. It depends.
-
RE: Buy-Sell EAposted in Questions & Answers
@satoriforex2k18 Okay, here is an update. I had a candle ID not set in one of the conditions.
https://fxdreema.com/shared/RYP6e6R6b
Magenta MA crossing, yellow arrows STO < 20. Check-out by yourself. I had at exactly 1 trade August 2019 EURUSD M5.

-
RE: Buy-Sell EAposted in Questions & Answers
@satoriforex2k18 Looks like your conditiopns apply not so often. Didi a quick check on M5.

Magenta 5 crosses 13 EMA. A few times STO misses just by 1 candle. Signal line may have hit. Looks like you're still too restrictive.
Test Project -
RE: Why does my EA do not work properly when i test it in MT4?posted in Questions & Answers
@fxdreema1984 Check candle ID's. Like this should work.

But first condition usually not needed as the cross condition is only valid when RSI value was lower 30 before. -
RE: Why does my EA do not work properly when i test it in MT4?posted in Questions & Answers
@fxdreema1984 Quick guess .. all 3 conditions have to take place within the same candle .. which for crossing seems to be a bit optimistic.
-
RE: Buy-Sell EAposted in Questions & Answers
@satoriforex2k18 From block titles and order how they're connected it looks good. But the information is not sufficient to help further.
On what tab did you specifiy this? "on Tick"?
Make a screenshot with the relevant blocks open, please. -
RE: Buy-Sell EAposted in Questions & Answers
@satoriforex2k18 Can you share the project again, please? Looks by titles okay so far.
-
RE: custom indicator queryposted in Questions & Answers
@sli1-0 Are you trying to implement an EA based on that trading system? Stochastic Divergence Trader
The "Stochastic Divergence Trader.mq4" appears already to be an EA. I'm not sure that you can use it as an indicator here.
-
RE: Not opening buy tradesposted in Questions & Answers
@Berg3699 It's opening both buy and sell trades. I run your project in tester.

Maybe you did specify sell trades only on Tester EA settings?

Lot size on first sell trade looks a bit strange. You should use constants for input parameters and variables to store other values. You use the constant LotSize with the Modify variables block.
-
RE: Close EA after tradeposted in Questions & Answers
@Mannybear1 , I'd start something like this ...

-
RE: Close EA after tradeposted in Questions & Answers
@mannybear1 If you might share the project I may have a closer look. But from principle fxdreema works from lowest to highest ID. In your exapmle you switch off Some block (can't see) and switch some block on on the next tick.
-
RE: EA Missing Crosses and Tradesposted in Questions & Answers
@marco-3 Well, in your case you expect the cross to happen on curremt candle at a certain time. As on the current candle your indicator is repainting, there is a chance that the cross is missed. In your particular case you watch in the time when spreads are usually very wide spread. That may be an issue. Would it matter, to wait until current candle is closed?
