@jsauter86 i dont think it will work since it wont take individual trades into consideration
Posts made by Zackry
-
RE: close a certain trade when its Profit reaches same number of pips as its Stoploss?posted in Questions & Answers
-
RE: close a certain trade when its Profit reaches same number of pips as its Stoploss?posted in Questions & Answers
@l-andorrà yep its not working for some reason , are you positive this is the correct implementation ?
-
close a certain trade when its Profit reaches same number of pips as its Stoploss?posted in Questions & Answers
let suppose EA opens up Multiple Trades across multiple different pairs and now i want it to close the trades which have the same pips profit as its stoploss .....
Is this the right way to do it :

-
RE: BUG: Block Apply Template, applies template and then erases the EA itselfposted in Bug Reports
@ambrogio i think they can work together (if i am not mistaken , since its been a long time i last work with it ), if the template is save with the ea attached to the chart it should work , cuz if its attached and when the template is reloaded then it will automatically load the ea as well , and if template is saved without the ea in the template then it wont load the ea once the template is loaded
-
RE: BUG: Block Apply Template, applies template and then erases the EA itselfposted in Bug Reports
@lucivuur said in BUG: Block Apply Template, applies template and then erases the EA itself:
This "logical mistake" looks like a bug to me
then you would need to look a bit more closer , cuz its simply user's fault of not knowing how this particular feature works , one can not blame ones own lack of knowledge on someone else
block works exactly as it suppose to work , saying otherwise doesnt make any sense
other option would be to ask Metaquotes to change how their platform works, you can try....cuz its metatrader function (template load) cuz if you manually load a template which does not have the ea attached to the chart then the ea will not magically appear after you load the template , you will need to save the template with ea attached to the chart if you want the ea to be attached after template load
-
RE: Check id a trade with certain comment exists ?posted in Questions & Answers
@l-andorrà hahahahahahaha nope i didnt tried that before and now that i tried to do it , it doesnt seem to work like that
-
RE: Check id a trade with certain comment exists ?posted in Questions & Answers
@l-andorrà hate to bother you again , but is it possible to Buy block if no order with a particular comment exists ?
like this:

-
RE: Check id a trade with certain comment exists ?posted in Questions & Answers
@l-andorrà thanks man , i wasnt actually sure , because afik the for each trade block runs a for loop and i wasnt sure if the next block can actually get in on that for loop
thanks -
Check id a trade with certain comment exists ?posted in Questions & Answers
is there any way to check if there is any trade currently open with a certain comment ?
-
RE: Get name of the horizontal lineposted in Questions & Answers
@roar funny story , you might not believe me but i was just looking into the arrays myself , and yeah you are absolutely right array would be a better option to do it
-
RE: Get name of the horizontal lineposted in Questions & Answers
@roar @miro1360 @fxdreema-1 can you guys please help
-
Get name of the horizontal lineposted in Questions & Answers
Hello everyone
i am trying to make sort of a delayed stoploss , the main idea is to place a trade with a stoploss , and then the ea will automatically remove the stoploss and place a line where the stoploss was, and when the price is <= the line for a certain amount of time then close that trade.
there are 2 parts of the ea ,
1: first part detects the sl and places a horizontal line on the sl price and then remove the sl , while keeping the horizontal line on the chart, and the ticket number of the trade is used as name of the horizontal line to identify which horizontal line is associated to which trade on the chart.2: second part where the ea detects which line has been crossed and get the name of that line , (this name will be used to close the trade with which has the same ticket number as the name of the horizontal line )
closing and counting time delay isnt a big problem ,but i cant figure out how to start with the second part of the ea i-e how to detect which line has been breached and get the name of that line
here is my sample project https://fxdreema.com/shared/g7DbBmeJc
i will highly appreciate if someone can help me in figuring out how to do the second part
thanks -
RE: Fibonacci level option isnt workingposted in Questions & Answers
@roar my friend you are my hero

-
Fibonacci level option isnt workingposted in Questions & Answers
Hi everyone i am trying to get the fib level price values but it isnt working and the comment block is giving the some long value which seems off

i tried all three option of the fib in object on chart option but nothing seems to be working

Here is the project : https://fxdreema.com/shared/9pufkFPYc
i will highly appreciate your input
thanks -
RE: getting the candle id for previous day high and lowposted in Questions & Answers
@miro1360 amazing just amazing!!!!!
no amount of words can express my appreciation and gratitude , you are an absolute gem , all i can say is thank you miro , THANK YOU! -
RE: getting the candle id for previous day high and lowposted in Questions & Answers
@miro1360 Whats your opinion on the ArrayMaximum() function ?
if i understood it correctly , this function it returns the index of the highest array value ? if i store the all the values of indicator during the specified period of time (previous day in this case) and then use the index of the highest value as the candle id ? do you think it could work ?