You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have examine my EA code but cannot pinpoint the bugs.the EA does not open order.Although the code for order opening,order closing etc is freely available codes,the trade criteria is mine which I visually test should be profitable provide one find the correct LRLPeriod value alongwith with correct stoploss management.i compile the EA but it does not show error but it is not opening position.here I am attaching for anyone to correct it and make it working and required that the fully working version may be used freely by all interested.Hoping for contributions from all forum members.Tnx
one more thing to add here.i use this code on the LRL Indicator given on 1st page and the Alert works fine.Why then EA is not working?.you can include this code in the indicator and see for yourself..
WHRoeder:
I gave you a circular link because YOU already provided the code for YOUR question.Yep,you are right but initially there was some confusion on the shift value till deVries point it out.Thats why.btw pls check the EA on why it is not sending order yet.i think
you can find it out.that ll be welcome :D
are my comments moderated.i remember putting up the print records on the journal which shows the error when I run the already mentioned EA but I don't see it now.if so why??
are my comments moderated.i remember putting up the print records on the journal which shows the error when I run the already mentioned EA but I don't see it now.if so why??
Not by me, perhaps you didn't press the Add your comment button.
ok.lol.but someone must hv done it.i sure see it after pressing the button...im re-putting it up here.RaptorUK,pls llok into the code and tell me where it at fault.is it that the LRLBuffer values are not return by the indicator?.Does indicator need to explicitly return values for icustom to work? or it need not return.Inserting Alert code as given earlier is working and give Alert as expected.so then why replacing the place of Alert code with oredersend code is not working?
I retest it again without changing any code and gives this results!
ok.lol.but someone must hv done it.i sure see it after pressing the button...im re-putting it up here.RaptorUK,pls llok into the code and tell me where it at fault.is it that the LRLBuffer values are not return by the indicator?.Does indicator need to explicitly return values for icustom to work? or it need not return.Inserting Alert code as given earlier is working and give Alert as expected.so then why replacing the place of Alert code with oredersend code is not working?
iCustom() reads the Indicator's buffer(s), in this case, buffer.
double LRLBuffer[]
is an array of size zero elements, so any value you use from that array . . .
. . . will be zero. Either declare it with a fixed size or resize it . . .
iCustom() reads the Indicator's buffer(s), in this case, buffer.
is an array of size zero elements, so any value you use from that array . . .
. . . will be zero. Either declare it with a fixed size or resize it . . .
RaptorUK! thnks to you the EA works now like magic after resizing although I first doubt it!
the graph is not nice though but thts not wht I expect initially.ll need to incorporate
stoploss feature and few filters to make it acceptable atleast.ll come to you when I encounted
roadblock again in future! :D