MarketInfo(Symbol(), MODE_LOTSTEP); what 's the fuction 's

 

MarketInfo(Symbol(), MODE_STOPLEVEL); what's the fuction's

 
zdj231:

MarketInfo(Symbol(), MODE_STOPLEVEL); what's the fuction's

https://www.mql4.com/search#!keyword=MODE_STOPLEVEL
 
MODE_STOPLEVEL 14 Stop level in points.

The description is not very helpful because it is nonsense and meaningless. It is the minimum distance from current price that you can set your stoploss.(in points)

Current price being Bid for a Long and Ask for a Short trade.

 
GumRai:
MODE_STOPLEVEL 14 Stop level in points.

The description is not very helpful because it is nonsense and meaningless.


Whilst, I would be the first to agree, the quality of some of the documentation leaves a lot to be desired, there is a line between how much the documentation should explain the functions in relation to automated trading,

and how much the mq4 reference manual, should explain common trading terms that should be understood by anyone trading on forex?


'stop level' and 'point' is, I think, basic trading terminology that one learns before touching mq4/EA's etc.?

When I come across trading terms I dont understand, I accept that there might not be fully explained in the programming reference, and I google them.

Also, having said all that, I think there are other pages in the documentation that go into more detail on MODE_STOPLEVEL.


Also the title says LOTSTEP and the body says STOPLEVEL :)


https://www.google.co.uk/search?q=site:forum.mql4.com+MODE_LOTSTEP

https://www.google.co.uk/search?q=site:docs.mql4.com+MODE_LOTSTEP

 
GumRai:
MODE_STOPLEVEL 14 Stop level in points.

The description is not very helpful because it is nonsense and meaningless. It is the minimum distance from current price that you can set your stoploss.(in points)

Current price being Bid for a Long and Ask for a Short trade.

Not just the min distance of the SL also the TP and open price for a pending order . . . it's all spelled out here: Requirements and Limitations in Making Trades