Well for instance one of the EA's was working fine for me for Oanda and Tenkofx. Proper execution of the all the trades and whatever logic or strategy is working. but then the other day I downloaded Octafx mt4 and on that it was putting way too many sells and buys and not working according to the logic or strategy but it was completely fine for the other two brokers.
Posts made by rocker699
-
RE: Problem with check last closed trade profit codeposted in Questions & Answers
-
RE: Problem with check last closed trade profit codeposted in Questions & Answers
thankyou for all your hard work
and also I have seen that with some brokers the EA's do not work properly and on others they work perfectly fine. why is that? -
RE: Problem with check last closed trade profit codeposted in Questions & Answers
ok so as i understand it... I will basically put a number in group# lets say 1 for buy/sell and then put the same number for different blocks with the same number for example the close trades group# will be 1 as well for that buy/sell trade. is that right?

......
screenshot1.jpg -
RE: Problem with check last closed trade profit codeposted in Questions & Answers
thank you very much. I will try it out. and also is there a way to group trades? For example Group#1 will have certain criteria and Group#2 will have certain criteria...like different trailing loss and stops depending on which group they belong to?
-
RE: Problem with check last closed trade profit codeposted in Questions & Answers
sure. here it is. no changes made.. nothing special about this ea anyways lol hopefully the problem can be resolved. thank you.
......
nonlagma (91).mq4 -
RE: Problem with check last closed trade profit codeposted in Questions & Answers
The block is 'check last closed trade profit'. I tried using a new block and it gives the same error.
-
RE: Problem with check last closed trade profit codeposted in Questions & Answers
ofcourse the trailing stop is going to be for the opposite trade/order after the 50pip loss trade.
-
RE: Problem with check last closed trade profit codeposted in Questions & Answers
Sorry I should have explained myself better. I want to close a loser trade with 50pips or greater and put a opposite (buy/sell) of the closed trade. and put a trailing stop for only the trades that are stopped out at 50 or greater. can this be done? I tried to number the group of trades as 1 to specify but I might not understand group correctly.
-
RE: Problem with check last closed trade profit codeposted in Questions & Answers
Hi there,
Getting code error for check last closed trade profit. I have attached a screen shot of mt4 (build 625).I was wondering if you could look into my project and see if I am doing anything wrong here?? please? Any help would be greatly appreciated


......
mt4 screenshot.jpg -
RE: Problem with sell ordersposted in Questions & Answers
It is practical:
It would be just like a pending order.. but in this case you are specifying in time of when to open the trade..and not in pips. (after the desired signal ofcourse)
-
RE: Problem with sell ordersposted in Questions & Answers
that is the question that i should be asking my self
lol -
RE: Problem with sell ordersposted in Questions & Answers
but like i said..i might have done something wrong.. not that i know that i am looking at the right thing.. i will try to make it work.
-
RE: Problem with sell ordersposted in Questions & Answers
i tried that.. I chose the option for visual mode.. but it stops the strategy tester and the continues from the same point..not a specified time later!! i I want the trade(buy or sell) to delay...not the strategy tester!!
-
RE: Problem with sell ordersposted in Questions & Answers
__There is a block "Delay", it actually stops the EA for a while at that moment. if this is the idea...[/quote:1lhkzrrz]
Yes i tried that option. But while backtesting it wasn't working. Or maybe i did something wrong. Anyways i will try again. Thanks. p.s the 10 block connection sucks
I vote for unlimited blocks for free or maybe 20 blocks for free:P hehe... -
RE: Problem with sell ordersposted in Questions & Answers
Hello again sir,
I was just wondering if there is a way to delay a trade by a certain amount of time. lets say when an indicator gives a buy or a sell signal..wait a fixed amount of time which the user inputs and then buy or sell?
or if that is not possible. How would i go about putting an order after a signal confirmation and not on current signal? is there a option here or would i have to look at the source code and make changes for that? Thank you so much. Any help would be greatly appreciated.

-
RE: Problem with sell ordersposted in Questions & Answers
____I guess the problem is that "Close trades" is executed too often, not only when needed. I have seen your project and in those Conditions you compare two indicators (the same indicator with different settings) with == sign, I think this is not correct. You can try some block from "Indicators" category, or check what your indicator returns using "Indicator tester" block (this is to know what values you are actually comparing).[/quote:211ediso]
No the condition part is completely fine. I tested the buffers and everything at another instance with this logic:
No trades running --> condition --> sell now - Buy Now
The trades are executed perfectly. It is only when i changed to put "close trades" in this logic is where it screws up(mind you only for sell orders...not for buy). Seems to be that there is a problem with the code generator!! You should look into it!!lol Otherwise great program. I will try what you suggested. Thanks.[/quote:211ediso]
Actually you were right. Got it working now. Thanks a lot for the advise. You are the best
p.s Hands down the best site for EA creation!! No bugs in fxdreema 
-
RE: Problem with sell ordersposted in Questions & Answers
__I guess the problem is that "Close trades" is executed too often, not only when needed. I have seen your project and in those Conditions you compare two indicators (the same indicator with different settings) with == sign, I think this is not correct. You can try some block from "Indicators" category, or check what your indicator returns using "Indicator tester" block (this is to know what values you are actually comparing).[/quote:1003jl8l]
No the condition part is completely fine. I tested the buffers and everything at another instance with this logic:
No trades running --> condition --> sell now - Buy Now
The trades are executed perfectly. It is only when i changed to put "close trades" in this logic is where it screws up(mind you only for sell orders...not for buy). Seems to be that there is a problem with the code generator!! You should look into it!!lol Otherwise great program. I will try what you suggested. Thanks.
-
RE: Problem with sell ordersposted in Questions & Answers
Hi there,I was wondering if anyone could help me. I have a very simple logic. Open order when the color changes from blue to orange and vice versa.
Everything is working except when it places sell order it keeps on placing orders everyt ick. For buy it's not the case. Works completely fine for buy orders. I am testing the EA on strategy tester mt4 build 610. I thought maybe coz of the changes in mt4 the strategy tester was screwed up. But i tried on a demo account and the same result. I am using a custom indicator(nonlag ma). I am attaching a screen shot of the problem as it will give a better understanding of the problem. Any help would be greatly appreciated. Thank You.......
strategy tester screenshot.jpg
fxdreema generator screenshot.jpg