fallequinox / Publications
Forum
How to trigger order on the next bar open (or on current bar close)
Hello folks, I am trying to code a simple EA that opens an oder on the opening of a bar (and closes any open order there may be) I am having trouble coding the action to happen at the close or open of bar. I was using the following to determine if a new bar opened... bool newbaropen=false;
Diff between Buy Stop and Buy Limit??
After you stop laughing at how new I am. please share with me what the difference is between a pending buy stop and a pending buy limit OP_BUY 0 Buying position. OP_SELL 1 Selling position. OP_BUYLIMIT ??? 2 Buy limit pending position. OP_SELLLIMIT ??? 3 Sell limit pending position. OP_BUYSTOP ??? 4
How to trade EA on a H1 chart and use data from a M15 indicator ?
Is there a way to do this? I am a mql4 newbie. I have a system that trades on the M15, H1 and H4 that I want to automate. Runs on the M15 but I want it to take into account indicator data from the H1 and H4 time frames. Any help or direction appreciated. Luperon