OK, thats great, thanks again
Posts made by joemarkey6
-
RE: Help - Custom MQL Codeposted in Questions & Answers
@willramsey Thanks for this, it works perfectly, how would you go about making it work for MT5, I tried to simply change the code where it says MT4 to MT5, grasping at straws'
it didn't work
-
RE: Help - Custom MQL Codeposted in Questions & Answers
Ok great thanks, I never come accross the FXDreema Studio before, I thought that you could simply paste code straight into the MQL block. Ill have to work out how to use it and give it a go.
Cheers
-
RE: Help - Custom MQL Codeposted in Questions & Answers
I tried all the above and always get errors, Id appreciate it if someone could upload the block.
Cheers
-
RE: Help - Custom MQL Codeposted in Questions & Answers
@jonatassantanacaje
Im trying to do the same thing that you managed to achieve, did you do it with one mql block?
If so would you mind sharing the code thats required in the block please -
Custom MQL Block code help please! SetAutotrading(false);posted in General Discussions
Custom MQL Block code help please! SetAutotrading(false);
Tutorials by Users 1 1 1
Jjoemarkey6 14 minutes ago
HI All
I have no idea how to code, I did a bit of googling and found this code, but I cant get it to work.SetAutotrading(false);
Any advice appreciated
I just want to make a bot that switches off the autotrade button if drawdown is too high. I was copying a signal on MQL5 "PrimeX" and they blew their account.
Thanks in advance
Joe
-
RE: Custom MQL Block code help please! SetAutotrading(false);posted in Tutorials by Users
I put this on the wrong forum, please delete it
-
Custom MQL Block code help please! SetAutotrading(false);posted in Tutorials by Users
HI All
I have no idea how to code, I did a bit of googling and found this code, but I cant get it to work.SetAutotrading(false);
Any advice appreciated
I just want to make a bot that switches off the autotrade button if drawdown is too high. I was copying a signal on MQL5 "PrimeX" and they blew their account.
Thanks in advance
Joe
-
RE: Rex indicator buffers???posted in Questions & Answers
Thanks for the help jstap, I can't get it to work, I tried naming them buffers a and b, also using the names from the code but I can't make it work.
I'm guessing it's this part of the code
//--- set global variables
period_rex=int(InpPeriod<1 ? 1 : InpPeriod);
period_sig=int(InpPeriodSig<2 ? 2 : InpPeriodSig);
//--- indicator buffers mapping
SetIndexBuffer(0,BufferRex,INDICATOR_DATA);
SetIndexBuffer(1,BufferSignal,INDICATOR_DATA);
SetIndexBuffer(2,BufferTVB,INDICATOR_CALCULATIONS);
//--- setting indicator parameters
IndicatorSetString(INDICATOR_SHORTNAME,"Rex ("+(string)period_rex+","+(string)period_sig+")");
IndicatorSetInteger(INDICATOR_DIGITS,Digits());
//--- setting buffer arrays as timeseries
ArraySetAsSeries(BufferRex,true);
ArraySetAsSeries(BufferSignal,true);
ArraySetAsSeries(BufferTVB,true);I've no idea what needs to be done to make it work with FXDreema
-
RE: Rex indicator buffers???posted in Questions & Answers
Thanks, how do I do that? normally the buffers are already there when you add custom indicator, but not with the Rex
-
RE: Rex indicator buffers???posted in Questions & Answers
Thanks for the info but I can't write code, the buffers don't show in the indicator inside the condition block, I asked the creator of the indicator if he could do this but he hasn't got back to me yet.
-
RE: Rex indicator buffers???posted in Questions & Answers
OK but i want my ea to know the values automatically
-
Rex indicator buffers???posted in Questions & Answers
Hi all, does any body know how to modify the code so that FXDreema recognises the buffers on this code?
I'd like to get a value from the signal line and the main rex line.
Any help please -
possible loss of data errorposted in Questions & Answers
Hi all,
im having trouble with my EA, it works in backtest but during live demo trading it instantly closes all by trades (no other charts are open)
the only that I get on install is the from the 'no position nearby blocks' I get a warning saying "possible loss of data due to type conversion from datetime to int" -
RE: I want my EA to only be able to by when price is inside a manually added rectangle, is this possible?posted in Questions & Answers
@l-andorrà @bk7 I made the changes but still have the same issue, I think I did something wrong in blocks 12 and 13, any ideas? cheers
-
RE: I want my EA to only be able to by when price is inside a manually added rectangle, is this possible?posted in Questions & Answers
great thanks, ill try it out and let you know how it goes
-
RE: I want my EA to only be able to by when price is inside a manually added rectangle, is this possible?posted in Questions & Answers
@l-andorrà I think you're right, when I compile it on metaeditor I get this message "implicit conversion from 'number' to 'string" Im not familiar with strings at all, what type is a string type? is it a setting in the block?