so where exactly are TP and SL calculated?
Marco vd Heijden:
so where exactly are TP and SL calculated?
so where exactly are TP and SL calculated?
TradeAlgorithms.mqh
https://www.mql5.com/en/code/1578
TradeAlgorithms
- votes: 33
- 2013.03.12
- Nikolay Kositsin
- www.mql5.com
Trade functions library designed for use in the code of scripts and Expert Advisors depending on a broker
bool BuyPositionOpen ( bool &BUY_Signal, // deal permission flag const string symbol, // deal's trading pair const datetime &TimeLevel, // time after which the following deal after the current deal will be performed double Money_Management, // MM int Margin_Mode, // way of lot value calculation uint deviation, // slippage int StopLoss, // Stop Loss in points int Takeprofit // Take Profit in points );is in points.
oh how i wish i knew coding...:)
Francis Dogbe:
oh how i wish i knew coding...:)
No one holding you back from that but you. I am working on learning it myself, but so far, my Java knowledge is only marginally helpful.
oh how i wish i knew coding...:)
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 keep getting the below errors during execution of my EA code. Been digging around but can't seem to find figure this one out. Thoughts?
2015.07.06 11:28:41.941 2015.03.27 22:14:59 SellPositionOpen(): OrderCheck(): Invalid request stops2015.07.06 11:28:41.941 2015.03.27 22:14:59 SellPositionOpen(): Incorrect data for structure of trade request!
2015.07.06 11:28:41.941 2015.03.27 22:14:40 SellPositionOpen(): OrderCheck(): Invalid request stops
2015.07.06 11:28:41.941 2015.03.27 22:14:40 SellPositionOpen(): Incorrect data for structure of trade request!