@normy Create a constant (not variable) ... That will show up as an input field, at the EA settings (the variable doesn't).
Then in the adjust field right click, and you can select the constant variable.
Posts made by CPxiom
-
RE: Draw line from current pip with X pipsposted in Questions & Answers
-
RE: Draw line from current pip with X pipsposted in Questions & Answers
@normy For that you can use the "adjust" field. + upward, - downward.
-
RE: How to calculate Moving average on RSI???posted in Questions & Answers
@etejenaro Try out these indicators from this thread.
https://fxdreema.com/forum/topic/6494/implementing-ma-and-rsi-indicator -
RE: Qustion for real programmersposted in Questions & Answers
@l-andorrΓ Not a programmer, but.

If you change right at the beginning at property where it writes buffers 4 to 8, You will get four more black visible buffers.
Checked it out with buffers explorer, and you could do a crossover with buffers 6 and 7. -
RE: How to keep a variable at 1 from a graph click (button, shape, etc ...)posted in Questions & Answers
@eks Hello, try with custom mql block.
Write : ---------- ObjectSet(LoadedObjectName(),OBJPROP_STATE,1); ---------(0=depressed, 1= pressed) where this block is linked to a previous For each button block, button identified by name, type, etc. -
RE: EX4 custom indicator inputposted in Questions & Answers
@geofx
glad that worked.. As for the CAppDialogFixed... error, don't know.From what I read, CappDialog is a panel.... in mt5? If this is not from the indicator, maybe you could renounce the panel.
Also, have you tried in forward test? Maybe it is because of backtest.
EDIT... You have there something that says show statistics on Yes. Maybe that's the panel? Try to put that to off, also. -
RE: EX4 custom indicator inputposted in Questions & Answers
@geofx From what I can figure, where it says int it should be a number (interger) not a string as Yes, No, etc. You could either try to use 0, 1 or boolean (true/false), or string instead of int. This also happens when some mtf indicators are set to "current" TF, and you should put "0". The other """ unexpected token things, maybe they are not from the indicator.
-
RE: Is there a way to check if block in status on/off?posted in Questions & Answers
@gsmtricks Hello, do you mean it should always stay off, then when click it - > enables it for one tick? (one conditions block run trough) then resets it to off?
OR... Click -> ON, click -> OFF.One way around this could be with the check button state block (button remains pressed if you have the second answer)
-
RE: Generate a random chartposted in General Discussions
@roar Great thread and idea!
AND most importantly... it follows that -there is order- in the market.
After seeing backtests where unreliable, at least for my kind of approach (tf used, etc), I moved to forward tests. In 4 months, I ended up working only on two EAs, for the most part.
Even if conditions change from month to month, week to week, day to day, hours in a day, news, etc, I would say that watching the charts and how the EA performs, tweaking, etc, I learned a lot without me wanting to necessarily, lol... and slowly boils down to some particulars. Will see what comes out from this.
But, yes, an EA not working on random, means "it" gets (or the EA creator, lol
) some particulars.
And as building approach, I have put the Money management aside, to be included when the EA is already profitable, so I know it has good strategy. The added MM would only make it even more profitable, so it's an add on (in my view). -
RE: How to express this condition (shift)posted in Questions & Answers
@l-andorrΓ So that's what the cross width does... width = range? Didn't know that. Thanks. I thought it's a line width... and didn't use this feature.
-
RE: How can I make stop loss/take profit MODE as expert advisor inputs?posted in Questions & Answers
@bronislaw536 Hi, there is that tick at the right that you can check, so it shows up in the inputs.
-
RE: Useful "Buffers explorer" indicator find :)posted in Tutorials by Users
@trader-philipps Yes, you're right

@paragorundu wrote that "Formarly I was creating EAs to read buffer values but this is a better solution" so I thought the intention was to use the buffer values from this indicator to create an EA..I looked at the indicator code and it was really easy to modify. I've put here 10 buffers. If more needed, let me know. I'm not a programmer, just learning...
Didn't test this, but it should work. Buffers explorer.mq4 -
RE: Useful "Buffers explorer" indicator find :)posted in Tutorials by Users
@paragorundu , @trader-philipps ... This indicator is just to see what buffer does what. You still have to make the EA read the buffers of the original indicator... Or maybe I misinterpret what you say.
I usually go with one buffer at a time, where in doubt, to see the buffer I look for. -
RE: Call a function for calculating next higher timeframe ** SOLVED **posted in Questions & Answers
@trader-philipps Wow thanks, this is very helpful.
-
RE: NNFX Template Fileposted in Questions & Answers
@specialfx No, you load the indicators on the chart, then buffer explorer. On the input tab you specify the name of the indicator you want to check, and the buffers. It will give you a visual representation of what buffer does what.
You can see the number of buffers, order and color, on the colors tab of any indicator. (So you know what to check) -
RE: NNFX Template Fileposted in Questions & Answers
@specialfx Maybe it is something wrong with the buffers output, in one of the indicators. Everything is done as for sell, so it should work. You can check the buffers with this indicator.
https://fxdreema.com/forum/topic/7612/useful-buffers-explorer-indicator-find -
RE: How to cancel order if it takes too long to openposted in Questions & Answers
@paragorundu
search on youtube "mt4 VPS" , and you will find instructions and everything.
Make sure you limit the mt4 to 5000 history, and 5000 bars, or even 1000, otherwise it consumes a lot of CPU and has problems with the free versions of setups available.
So also check out on youtube "sluggish mt4", speed up mt4... etc.
-
RE: HOW TO STOP OTHER/ALL EXPERT ADVISOR BY MY EXPERT ADVISORposted in Questions & Answers
@ambrogio That's so great

Yesterday I researched a bit some possibilities to change selectively... But had no success.
I did found something that would read the string of the symbol, but honestly, don't know where to put that
so the loop through the open charts would change only the specified symbol.
Another way to go about this, would be to search for a particular indicator with this function. ChartIndicatorName... so you could distinguish some charts by other charts with some indicator, and change the template for only those.But as I said, this is well over my head, and maybe others could help with this.
Because it would be great, to not close all the EAs... in case of maybe having an fxdreema EA that has good conditions and can run nonstop, let's say.
-
RE: successfully created my first ea...based on buy and sellposted in Questions & Answers
@ask4abusaidu Make sure you specify candle ID 1 at more settings.
The 0 candle is always changing. So if indicator settled, and we passed that candle, trade.