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.
Posts made by jstap
-
RE: how to trail TP and SL same timeposted in Questions & Answers
-
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.
-
RE: Scanner Stock in MT5 like Dashboardposted in Questions & Answers
@nguyenjohn Hi, in this link link text you will see a few options on how to achieve a panel like your picture and different, I am not that well practiced on this and there are people much better than me, any objects you create you will need to delete on de init so if removed from chart it goes back to blank. Arrays on FX are quite difficult/maybe impossible and something I know nothing about, if you search the forum you will find lots on how to create a panel. Hope this helps
-
RE: Is there a way to reset Turn on / off blocksposted in Questions & Answers
@saeed-2 Then you need a condition that turn on/off all required blocks when necessary, easiest way would be to remove EA from chart then reinsert but I don't think this can be done other than manually, you could just set a time to switch on/off.
-
RE: Help me tell me the use of the volume upper limitposted in Questions & Answers
@jolly-virox The blue block called check position count, this should go at the top of the tree.
-
RE: Help me tell me the use of the volume upper limitposted in Questions & Answers
@jolly-virox If you have the EA automatically increasing the LOT size, you can set a max LOT to stop increasing.
-
RE: AUTO WITHDRAWposted in General Discussions
@firima80 Don't think it can be done, check with broker.
-
RE: Buy a EUR pair when Conditions are met from three Pairsposted in General Discussions
@mohamed80 Tipsy is correct there is a candle 0 close but it happens at the same time as the new candle opens, in code you can specify C0 close (I am unsure how to do it) but it potentially moves until the candle closes, using C1 for everything, and then C0 open for C1 close is the best way. In this link you can see how I would achieve this link text