Jatin Patel
Jatin Patel
Hi I am from India, I am Software Developer, I like forex trading , I lost my all first deposite in forex , now i am learning to do well , i also code for EA.
Jatin Patel
Published post symbols
//+------------------------------------------------------------------+ //| Symbols Total, by Marco van der Heijden | //+------------------------------------------------------------------+ for(int i=0;i<SymbolsTotal(1);i++) { if(SymbolName(i,1)=="AUDCAD") { // do something for AUDCAD } if(Symbo...
Jatin Patel
Published post ea start
//+------------------------------------------------------------------+ //| fast-start-example.mq5 | //| Copyright 2012, MetaQuotes Software Corp. | //| http://www.mql5.com | //+------------------------------------------------------------------+...
Jatin Patel
Published post matarial
Using Standard Libraries So we have finally made it to the Standard Library. This library comes together with the terminal, hence its name - Standard Library. It comprises functions that facilitate programming EAs and partially undertake complex processes, e.g. trade request generation...
Jatin Patel
Published post Link
https://www.mql5.com/en/articles/138 if(m_position.SelectByTicket(myticket)) { double profit=m_position.Profit(); Comment("Profit = ",DoubleToString(profit,2)); } 2.2...
Jatin Patel
Published post Close all position
define ID_OWN_MAG_NUM 9999999 // ALWAYS: use MagicNumber of the expert, to avoid MIX //+---------------------- //| Closing all positions, MATCHING this ID_OWN_MAG_NUM ( avoid deleting others ... //+---------------------- void OnStart...
Jatin Patel
Published post jatinpruthvi
How to use the OrdersTotal() int OpenPos() { int total=PositionsTotal(); int count=0...
Jatin Patel
Registered at MQL5.community