Indicator code change - coders please
-
@jstap and Co.
Could a coder do me this favor please.
I have an indicator which I have to change the code to use in Fxdreema. I have the instruction from the creator of how to change it so its compatible with Fxdreema, but because I am no coder it all sounds alien to me and I will make a mistake. The creator also do not know how Fxdreema works so I cannot expect help from him. So I want ask if anyone with coding experience can help me with this please
Thanks in advance -
@alphaomega If you put the indicator and the list I'll have a look but I'm not promising anything, someone else may know how to do it.
-
@jstap I tried loading the file when I posted the first time but it says I do not have enough privileges?? don't know why this was? Now suddenly its working again?

The indicator:
0_1648657507355_WaveMTFv2.mq5
The Instructions:
But, if you intend to integrate WaveMTF function into another EA, here I explain the procedure.Starting at the top, see the ExampleEA.mq5 source program.
Lines 39-46, are enums for the options for using timeframes in the WaveMTF function. By default, I specify TF-
M15, H1, H4. You can change it by clicking the dropdown on Experts properties.Experts input properties, starting at lines 50-68. You have to read it, so that you understand every input parameter.
I put all variables and functions in the struct class to speed up program execution and save computer memory usage.
Struct classes from lines 74-161.The very important WaveMTF indicator functions and variables for this EA are:
Variables Arrays: XBB, XLB, XKB.
ENUM Timeframes: Tmf, TF1, TF2 and TF3.
Function:
WaveMTF, WaveKTF, GetDirection, GetTFUse, RefreshPrice, SameAs, IMA and IndicatorSignal.Function calls to obtain WaveMTF signals, starting on lines 242 and 243.
If the trade variable value = 1, it means BUY, and the value -1 means SELL.If your EA doesn't use struct class, then the changes you have to make are:
- Remove all variables from the struct class, and put them under the expert input parameter.
- Edit all variable names written with the wm prefix. for example wm.pip, becomes pip. (without the prefix, wm.)
- Edit all function names with the WMf:: prefix, for example
int WMtf :: IndicatorSignal (void), becomes int IndicatorSignal (void). - Delete all struct classes starting on lines 74-161.
If you want to rename the ExampleEA name with another name,
please don't forget to also change the EA name I created on line 10 and 194.That's my explanation, I hope you understand and can apply it well.
-
@alphaomega I don't know what to do, this indicator has got 2 buffers that return a value that you can get on FX (just put them in a comment), it won't work on my back test, so I cant find out if the value changes, I assume it does but this this is why I don't program I do all on FX, sorry:

-
@jstap thx brother for trying... what you mean by do it on fx?
-
@alphaomega FxDreema
-
@jstap oh!! ok... yes, I am back to your line indicator condition to try and get a good result... The problem I have is that the PA change in real account. Some time or day its volatile so you need a quick thinking indicator.. Sometime the market is slow and you need a more lethargic indicator. I don,t know what is the best combination of indicators working together. I thought this Wavemtf indicator will do both.. I asked this guy to code it like two years ago already but have never used it because I do not trust it completely... But thank you for your time brother.