Here is the updated file... it's still hanging in the yields.... I added them in there where I presumed it would finish the test, but it apparently is not right
https://www.nigeriaforextrading.com/...1550876481.mq4
Here is the updated file... it's still hanging in the yields.... I added them in there where I presumed it would finish the test, but it apparently is not right
https://www.nigeriaforextrading.com/...1550876481.mq4
Fixed the hanging.... It's opening and closing trades currently in egy tester.... But it's modifying trades more than once.... Can someone please tell me what's causing that with the logic?
If the linetradeslt;1 then it should never enter into the code at which a change can occur... maybe I need to move a bracket round or something?
https://www.nigeriaforextrading.com/...5179980852.mq4
Dear friend,
that I backtest and found 2 article without Tp not shut for a lengthy duration??
But profit. See Attach. I seriously searching for this advancement!!
Great work. . .thanks.
Sahron,
If you have a better look at the results, the ones that are hanging have been modified several times instead of just once right when the order is set. It's this defect in my code that I want to figure out how to fix.
It should never be able to go in and modify again an order... however, I think that it's to do with my understanding of the brackets/returns/order of closing logic... that's where I could have an experienced coder inform me what's causing the issue... I have a major if statement saying if line(x)tradeslt;1 then continue into the code.... Inside another if statement in that block is where the Modify Order exists.... If any of line1trades, line2trades, line3trades, line4trades possess a 1, then it shouldn't be able to change those trades
Hi, I didn't look at all of your code, however I saw you've got an If (...) and you have else , in your order change commands. Were you aware that in the case of a if and else , if the if statement is false, the else statement is executed.Originally Posted by ;
So
if (untrue)
Comment(Comment one);
else
Comment( Comment two);
Comment two will likely be printed to the display.
Because I am very new to this programming language.... Obviously, I'm not a programmer by trade, but I have been able to make some complex items with VBA/Excel.... It is a much easier language though... I'm more of an Analyst by trade
I found one error in my line4buy code... I will correct it when I Return and see if that is the problem... or Only a side problem
Oh Okay I see. Simply use the Tab button to get every logical indent.
BTW I haven't looked in the code so I don't know yet what the problem is and don't want to intrude on Zen_Leow or even Magnumfreak.
Thanks, I will give a review as well as Fix the Mistake I Discovered in the line4buy section in a Few hours or so
I've not read the codes. Was waiting for it to be tidied up before I start faking my eyes. It's simple to read our very own codes but rather dull to read others if you understand exactly what I mean.Originally Posted by ;