God bless you big time sir , you're really helping
@OrchardForex Жыл бұрын
Happy to help
@tino14013 жыл бұрын
Thanks for the video, i love it But i do have a question, Since MT has a minimum number of points when initiate a trailing stop manualy if I code a TS in an EA for less than the minimum will it be accepted?
@OrchardForex3 жыл бұрын
It will be accepted by the EA as written but you will get errors when it attempts to place stop losses
@tino14013 жыл бұрын
@@OrchardForex thank you, this means it will not actually work on the charts
@Vespa001Ай бұрын
Awesome
@OrchardForexАй бұрын
Thank you
@ShopgobyNow Жыл бұрын
Thank you
@OrchardForex Жыл бұрын
You're welcome
@ikchuks4u891 Жыл бұрын
Thank you sir
@OrchardForex Жыл бұрын
You are welcome
@mr.adamprince48532 жыл бұрын
Thank you very much Sir...
@andreascabreira3 жыл бұрын
thanks for taking the time to put this out!!
@OrchardForex3 жыл бұрын
My pleasure!
@kipngenobett4850 Жыл бұрын
Hi! I have two concerns :One, I have tried to apply this to my code and my hope was that it was going to improve the graph in the strategy tester but I couldn't notice any improvement to my trades on strategy tester. I thought I didn't implement it well, what is your opinion on this? Secondly, I have created an EA that didn't have a take profit and stop Loss. I have utilised it until it almost blew my account and that is when I tried to implement the SL and Tp for my first time. I did manage to code it and I saw the profitability /graph improved drastically. However the number of the trades reduced tremendously_ that is in the strategy tester. In fact the graph went up until it completely flattened meaning that the trades were no longer picked. I tried to investigate the issues behind it and noticed some warnings on the strategy tester that said :[invalid stops]. I could not understand where I was going wrong. Any advice please?
@OrchardForex Жыл бұрын
There is no guarantee that a trailing stop will change, improve or worsen your strategy, depends on the strategy. Invalid stops usually means you are placing a stop loss at an invalid price, check the price and code.
@yaserazizzadeh6925 Жыл бұрын
Its so useful Thank you a lot, I learned too many stuff from your videos I have a question How can i get Trade.mqh file that you use in your codes?
@OrchardForex Жыл бұрын
It is supplied with MT5, not needed for MT4
@yaserazizzadeh6925 Жыл бұрын
@@OrchardForex I got it. Thank you again.🙏
7 ай бұрын
tks bro
@kipngenobett48503 жыл бұрын
Hello sir. Can you explain in a vidio how One can twist this a bit to create a STOP LOSS for an Expert Advisor? I. e in Mql5. Thanks.
@OrchardForex3 жыл бұрын
Are you just asking how to set a stop loss when you place a trade?
@kipngenobett48503 жыл бұрын
@@OrchardForex I really wanted an explainer video on how to write and where to insert a Stop Loss line of code in an Mql5 expert adviser code.
@danieldang39033 жыл бұрын
love your videos, ver informative
@OrchardForex3 жыл бұрын
Thanks for watching!
@ApataHitz3 жыл бұрын
Thanks alot
@OrchardForex3 жыл бұрын
Most welcome
@medelpasand Жыл бұрын
it doesnt work. i tried it on original mt5 and it returened these errors and does not compile : invalid include ts.mq5 1 1 'CTrade' - unexpected token, probably type is missing? ts.mq5 2 1 'Trade' - semicolon expected ts.mq5 2 8 'i-' - undeclared identifier ts.mq5 21 27 'Trade' - undeclared identifier ts.mq5 26 1 'Trade' - undeclared identifier ts.mq5 29 1
@OrchardForex Жыл бұрын
That's not because you don't have the include statement for CTrade
@medelpasand Жыл бұрын
@@OrchardForex how to get it ? I would love to have it . Thanks
@OrchardForex Жыл бұрын
@@medelpasand Trade.mqh is supplied with Metatrader.
@sologitararu Жыл бұрын
Почему не показываете в тестер работу этого кода?
@OrchardForex Жыл бұрын
Это не про стратегию. Нет смысла запускать тестер.
@coachsalim47002 жыл бұрын
Can i just download it? I don't know how to code
@coachsalim47002 жыл бұрын
@Orchard forex
@OrchardForex2 жыл бұрын
There is a link in the description
@apostolic_investor3 жыл бұрын
Good day sir, please can we get the source code?
@FUTURETRADER-lh1ek2 жыл бұрын
alguien tienen un trailing que se active luego que el conjunto de ordenes tengan un valor positivo y luego cierre todas las ordenes? saludos
@xLuisCumbi2 жыл бұрын
Encontraste alguna?
@FUTURETRADER-lh1ek2 жыл бұрын
@@xLuisCumbi hola, no!
@TheF22raptorang2 жыл бұрын
Please mql5 imaonarray
@lenityforbes75483 жыл бұрын
Source code please
@clearmuzik.54623 жыл бұрын
lazy bones
@lenityforbes55772 жыл бұрын
@@clearmuzik.5462 I need trailing stop with money not pips or points something of this nature but here is closing profit #include #include //--- CPositionInfo m_position; // object of CPositionInfo class CTrade m_trade; // object of CTrade class //--- input parameters input double InpProfitInMoney = 9; // Profit in money //+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ int OnInit() { //--- //--- return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Expert deinitialization function | //+------------------------------------------------------------------+ void OnDeinit(const int reason) { //--- } //+------------------------------------------------------------------+ //| Expert tick function | //+------------------------------------------------------------------+ void OnTick() { //--- for(int i=PositionsTotal()-1; i>=0; i--) // returns the number of current positions if(m_position.SelectByIndex(i)) // selects the position by index for further access to its properties { double profit=m_position.Commission()+m_position.Swap()+m_position.Profit(); if(profit>=InpProfitInMoney) m_trade.PositionClose(m_position.Ticket()); } } Mr active bones
@Natureza-Aniamal2 жыл бұрын
A parte do código 14:49 onde escondeu para que ninguem os ver 👀.... lá no site nao mostra o código todo só uma parte dele.
@OSWALD5693 жыл бұрын
TrainlingStep misses, Orders and Positions should all be Order. Wit these modifications the EA should be working
@clearmuzik.54623 жыл бұрын
this program lauches so many orders nonstop.
@md21ky38 Жыл бұрын
respectfully, I struggle giving you a sub. your videos look good on paper but you dont go and test the code that you show afterwards usually, and or give further explanation for the average coder. your english terms you use are very strange even for an english speaking native.