Forum

Is ENUM_SYMBOL_TRADE_EXECUTION an optional parameter?

I have looked several EA example scripts that buy and sell and I do not see "ENUM_SYMBOL_TRADE_EXECUTION". Is this an optional parameter ? Thank you

Example of a buy limit and a buy stop?

I've read about Buy Limits and Buy Stops but I'm having trouble putting that information into an example in my mind. Can someone give me an example of a Buy Limit order vs a Buy Stop order ? Thank you

Is there a good detailed reference for stock trading volume?

I've been reading about stock volume but everything I've seen talks about it at a fairly high level. I read that we use Lots and that a lot represents 100 shares. If we specify a lot at 0.5 it means 50% of, or 50 shares in this case...and that's called an Odd lot size. I was doing a trade with my

Need help understand stop loss and take profit

I've been reading about Stop Loss and Take Profits and at this point I'm a bit confused. Here is my current understanding: 1. If I'm selling a stock, I pay the bid price. I need to set a stop loss amount that is lower than the bid price. I need to set a take profit amount that is higher than

MT5 enum Creation question

I'm just looking at an example Indicator code and saw this block: enum Creation { Call_iIchimoku, // use iIchimoku Call_IndicatorCreate // use IndicatorCreate }; Can someone tell me how this enum is working? Thank you

Trying to use InteractiveBrokers, can't connect

I have a trial/paper account with interactivebrokers. In MT5 what should I put in the Login field? The pw and server are straight forward but I can't put my IB username in the MT5 login because my IB username is a mix of alpha and digits. My demo account with IB is a string something like this

Can someone explain Indicator/EA differences

So I read in basic terms that an Indicator shows you trends, MA's, etc. but that Indicator scripts do not (or maybe is was cannot) do trade.buy and trade.sell functions . You have to write an EA to do trades. My questions is really this: If I write an EA to do trades, I'd want to code in some

trade.buy() method (Stocks)

What kind of data should I be putting in the trade.buy.volume property ? Is this the number of shares I wish to buy? In some of the MT5 code I see values like 0.10 but I don't know what that means. Thank you

Explanation of Selection of Input Parameters

I've been looking for a few hours now but I cannot find documentation on Selection of Input Parameters when testing my EA. See attachment. Where can I read about these individual settings so I can understand if I need to use them in my testing? Thank you

Cannot open a demo account in MT5

I have a free brokerage account with Interactive Brokers. I can log into my account on their website so my account is created and ready to play with (their free account is like a demo account ). However in MT5 I cannot open a demo account. The Account Type isn't populated and I cannot enter data