@ladydolares Last closed
Posts made by jstap
-
RE: Counting of winning and losing positions.posted in Questions & Answers
@ontradingx To be honest I do not know if this is possible but, I use a what is in this picture:

Hope this helps -
RE: What am I missing with ENUM variables for MT5?posted in Questions & Answers
@l-andorrà Although this is a good question when time frames are selected using the enum method the EA can optimise all, I have never used the number method except for start/finish time but if you use this as custom code I think it would work:
if((Ma_Method = 1) {Value = "MODE_SMA";}
if((Ma_Method = 2) {Value = "MODE_SMMA";}
if((Ma_Method = 3) {Value = "MODE_EMA";}
if((Ma_Method = 4) {Value = "MODE_LWMA";} -
RE: Trailing Stop to Breakevenposted in Questions & Answers
@didymario7 Your welcome, I have it => just to make sure there is a small profit rather than a small loss, glad I could help.
-
RE: Is there a way to reset Turn on / off blocksposted in Questions & Answers
@saeed-2 Not that I know of.
-
RE: Trailing Stop to Breakevenposted in Questions & Answers
@didymario7 This is something I do regularly, in this link you can see how I do this.
-
RE: Is there a way to reset Turn on / off blocksposted in Questions & Answers
@saeed-2 Without seeing your project it's hard to say but, 1 off/on block can turn off/on many blocks by comma separating the id numbers.
-
RE: how to trail TP and SL same timeposted in Questions & Answers
On the pink blocks you can have 1 for SL, underneath 1 for TP, the one under will only move if top has activated and moved stop.
-
RE: What am I missing with ENUM variables for MT5?posted in Questions & Answers
@l-andorrà said in What am I missing with ENUM variables for MT5?:
ENUM_MA_METHOD
If you add to a constant/variable what's in this picture:

Then you get these options in inputs:

Ignore MT4, MT5 is busy optimising.
-
RE: Buy a EUR pair when Conditions are met from three Pairsposted in General Discussions
@mohamed80 I put a value in a cell, I then use a formula to sort the cell in next row, when I have the next row with all the correct formulas, I drag/autofill down, this gives me all required data, I then copy the range of cells, paste into custom code in FXDreema, all data is in normal row format so ready to use.
-
RE: check distance moduleposted in Questions & Answers
@piptheripper Don't worry about it, we all have these moments and there is lots of options in FX to deal with. Glad I helped
-
RE: how to trail TP and SL same timeposted in Questions & Answers
@ideal seb 0 is correct, is pointless to trail TP as you will never hit it, in here link text you can see how to do it but you will need other conditions to stop it moving.
-
RE: Draw a signalposted in Tutorials by Users
You can assign a set of conditions to draw an arrow, as you have alluded you can draw a button to do what ever you would like, if you search the forum you will find lots of information on how to achieve this, EA will only buy sell when conditions lead to buy/sell block.
-
RE: Buy a EUR pair when Conditions are met from three Pairsposted in General Discussions
@mohamed80 To be honest I am unsure, what I do know though is a variable has to be in the list otherwise it will throw errors. I came from an excel back ground, a lot is very similar, if I have lots to add to code, rather than typing it all, I use excel to compile using formulas before copy/paste.
-
RE: check distance moduleposted in Questions & Answers
@piptheripper that is correct, just add a false flag from the yellow check distance, this will stop trades when incorrect distance, but allow when correct.
-
RE: Is there a way to reset Turn on / off blocksposted in Questions & Answers
@saeed-2 No it will lengthen it, if EA is doing all for resetting then it will happen in less than a second, even if EA was to remove then reinsert it would take longer.
-
RE: Buy a EUR pair when Conditions are met from three Pairsposted in General Discussions
@mohamed80 link text Look in the custom code of this link, I think what you need is there. If what yon need is in a variable/constant then calculate these not just numbers.
-
RE: check distance moduleposted in Questions & Answers
@piptheripper Personally I find using blue blocks above blue blocks doesn't work too well. Put the second blue blocks separate and put a set flag true under orange, put a set flag false under yellow, put a check flag true above buy/sell and all should work.
-
RE: Buy a EUR pair when Conditions are met from three Pairsposted in General Discussions
@mohamed80 I am a little lost with what you would like to achieve, if you look in the link link text you will see how to return the current symbol, the first 3 letters and the last 3. there are ways you can type letters on screen and use this to do something, is quite advanced though. Ignore that I've done it on MT4, is all I have free, should work on MT5 the same.
-
RE: Buy a EUR pair when Conditions are met from three Pairsposted in General Discussions
@mohamed80 Although this is not the prettiest you can generate more variables, in the more settings option set the timeframe and use in custom code like you did above.