@khalids222 If you want the sequence buy -sell - buy, you need to count the sell and buy orders and compare them. If you want sells and buys separate, you can use no trade block and limit one for buys and another one for sell types.
Posts made by trader.philipps
-
RE: How to take one of several buys orders?posted in Questions & Answers
-
RE: Show information of TRADER.posted in Questions & Answers
@alok Use the comment block to do so. It's much easier.
I saw somewhere an example but couldn't find it by searching the forum right now.
-
RE: "ENUM" customposted in Questions & Answers
@rafael140 I'm not the expert for custom blocks, but I quicly created the following and tested it in tester.
That looks fine. So you should be able to use any of the defined datatypes in some custom mql block for instance.
Maybe you coukd upload your custom indicator for others to use it?
-
RE: There is no (Running Trades Total Lots) choiceposted in Bug Reports
@delibalta Use the seatch function. There are some threaqds about the usage of Bocket of Trades block.
-
RE: "ENUM" customposted in Questions & Answers
@rafael140 Okay. And that didn't work for you?
A different way may be if you'd create a dummy indicator. As I found out out last weekend, fxdreema imports the variables including enum datatypes. Hence it should be possible to write an indicator where you specify your enum datatypes and it get's imported automatically. It's just a guess, but might work.
-
RE: Importing a MQL4 indicator ERRORposted in Questions & Answers
@alphaomega What part you want to improve btw. If it's not much you may let someone code that part.
-
RE: Importing a MQL4 indicator ERRORposted in Questions & Answers
@alphaomega If you understand mql language a bit I think you can try to rebuild it in fxdreema. The code appears to be well structured and a bit commented.
-
RE: There is no (Running Trades Total Lots) choiceposted in Bug Reports
@delibalta I never used it, but I think this block is what you're seachring for

-
RE: Importing a MQL4 indicator ERRORposted in Questions & Answers
@alphaomega That's an EA not an indicator. Or are you trying to import the MQ4? That wouldn't be possible afaik as it was not build with fxdreema.
-
RE: Importing a MQL4 indicator ERRORposted in Questions & Answers
@alphaomega May you share the indicators that are failing?
-
RE: Money Managementposted in Questions & Answers
@tradingstrategy88 Well, I think you did something wrong.
In general that block is the right one. The help says it also covers loss.

So I did a quick check.

The result if loss is more than 10:

You might share your project that we can have a look why it's not working for you.
-
RE: Compilation errors enumerator identifier already definedposted in Questions & Answers
@l-andorrà Well, if you for some reason kick out the one inidcator with the enum declaration, you will run in the issue that the datatype is not defined. So you must use this with care!
-
RE: "ENUM" customposted in Questions & Answers
@rafael140 I'm not an expert in creation of custom blocks, but I quickly implemented and tested this:
- First a custom block I called enums where I defined my enum datatype and saved it.

- On the on Init tab I created a custom MQL block where I placed my custm block

- For testing I created a custom MQL code block like this

- Tested and saw correct result in the terminal log (enum is zero based!)

I hope that helps for the begining.
-
RE: Only Allow Trade on the first 7 bar after Indicator Signalposted in Questions & Answers
@everjn17 I don't know how you confirm with W %R, but by principle it should work like this

x> with width 7 from my understanding means, that there was a cross within the last 7 candles and close price staid above the MA since that cross happened. I think that's what you're looking for.
-
RE: "Customized Indicator" I cant click the Input parameter for Optimisationposted in Bug Reports
@ambrogio Could you download and run the indi from this thread? Wondering why my MT4 terminal can't read it.
-
RE: "Customized Indicator" I cant click the Input parameter for Optimisationposted in Bug Reports
@trader-philipps Can't download it from the market either. Maybe someone else can have a try. Or contact the author if he could provide the free version out of mail market.
-
RE: "Customized Indicator" I cant click the Input parameter for Optimisationposted in Bug Reports
@polishinglife I never used an indicator from the market with fxdreema. Maybe that's already the issue!?!
-
RE: "Customized Indicator" I cant click the Input parameter for Optimisationposted in Bug Reports
@polishinglife Still the same. If it's from mql market, I would have to download it by myself as it's bound to the account that was used to download it!
