| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Beginner's Question: Does Start() run after each tick ?
Is Start() called after each tick?
I am using the strategy tester to cycle through a few days worth of data with a 1M scale and I have the following line in my Start() routine: Print(Ask); I expected to see a Journal entry for each and every tick. When I start the strategy tester with a slow playback setting, I see the chart updating but I do not see the Ask price being printed to the Journal very often. The Ask price is only sent to the Journal about once every 15-30 minutes. Why is this? Is it possible to create another tab in MT4 or a debug window in the editor to which text can be sent? Thanks, Forexwindo |
|
|||
|
Hi,
i´ve got a question: how to allow the expert to place more than one order independently? Using the command (or another command if anybody know) total=OrdersTotal(); if(total<1) we got the control of the number of trades being executed simultaneously (if < 1, one at a tima, if >2, two at a time and so on) But in real world, that command ends up with the expert placing two or more orders using the same entering conditions (same as using several lots). I want to allow the expert to place another orders even if there is one or more orders opened, but not place them at thge same moment; HOW TO ALLOW THE EXPERT TO PLACE MORE THAN ONE ORDER, WITHOUT PLACING THEM AT ONE TIMA? thank you, waiting for help! |
|
|||
|
Hey guys,
I don't know if this has been posted before (I lack the patience to search through threads, sorry!) but I know it's been asked for a lot. This code will ONLY run once per tick. It will run as soon as a new tick is introduced, and only then, and not function afterwards until another occurs. Please keep in mind that can actually be a problem, at times. If your orders don't go through, for whatever reason, it will not initiate again. If you want to modify the code to do so, go ahead. I would suggest something like: Code:
if order fails, fileseek to front of f, write Open[2] to f
__________________
//AirforceMook// |
|
|||
|
Hello All,
I need help coding this: Based on a daily chart: a) Let's say my conditions are met on closing on day#1 and let's assume day# is June 9. b) Now i want to place a BUY-Stop and a sell-stop at the High and Low on closing on day #2 or june 10 c) Finally, i want the trade to be triggered on day#3. Additionally, if the LONG is triggered first, i want the sell-stop to be closed and vice-versa. Thanks in advance for your help. regards, forexcel |
|
|||
|
EA for appointing day of a week ,and time
Do not you know EA which you choose the day,(For example, only Wednesday and Thursday) and appoint time for opening and closing?
In many cases, A rate rises on Wednesday and Thursday since many people to get the SWAP. I buy it at this time and take a position. And the rate falls as soon as an SWAP occurred. I am sold at this time and take a position. I am looking for EA to use for like this trade. |
|
|||
|
I need help!
Hi guys,
I need help. I have this EA that I've created PHP Code:
......but I don't understand how to put the code below inner it. PHP Code:
Can someone help me to integrate it? Thanks, Mauro
__________________
I'm studing to become an MQL Programmer! ![]() The best strategy to use ForexKiller. Try it: http://forex-killerallday.blogspot.com/ |
|
|||
|
EA only makes one trade...
Hey guys, I have a quick question for you. I recently created an EA. The parameters are correct and when I added it to the chart, it placed an appropriate Buy and then later a Sell. But, the next time a Buy signal came, it never placed a trade. Seems that the EA is only taking the first trade and then none thereafter. Any idea why this might be? I'd appreciate any help. Thanks!!!
|