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
已发布文章Jatin Iteration 3
thanks api...
Jatin Patel
已发布文章Jatin_Iteration_2 Multiple Pair
thanks...
Jatin Patel
已发布文章ea methods for symbol wise
double calculateProfit() { /* double profit = 0; for (int i = 0; i < symbol_size; i++) {...
Jatin Patel
已发布文章jatin_Iteration_1
Iteration 1...
Jatin Patel
已发布文章rvi
double mypricearray0[]; double mypricearray1[]; int RVIDef = iRVI(_SYMBOL,_PERIOD,10); ArraySetAsSeries(mypricearray0,true); ArraySetAsSeries(mypricearray1,true...
Jatin Patel
已发布文章symbol with spread
enum SYMBOLS_OF_PAIR { "EURGBP;GBPUSD;EURUSD", 0.7+0.6+0.5 = 1.8 12.86 10.00 10.00 "EURUSD;USDJPY;EURJPY", 0.5+0.5+0.9 = 1.9 10.00 8.97 8.97...
Jatin Patel
已发布文章ENUM symbol of pair
enum SYMBOLS_OF_PAIR { "EURCHF;CHFJPY;EURJPY", "GBPCHF;CHFJPY;GBPJPY", "USDCHF;CHFJPY;USDJPY...
Jatin Patel
已发布文章spread comparision
int MyExpert::getAvgSpread(){ // int spread = SymbolInfoInteger(symbol,SYMBOL_SPREAD)); double myspread=(SymbolInfoDouble(symbol,SYMBOL_ASK)-SymbolInfoDouble(symbol,SYMBOL_BID))/SymbolInfoDouble(symbol,SYMBOL_POINT); double j = 0...
Jatin Patel
已发布文章Bug in ordersetnd
//+------------------------------------------------------------------+ //| OPENBUY FUNCTION | //| *Has Input parameters - order type, Current ASK price, | //| Stop Loss, Take Profit, deviation, comment | //| *Checks account free margin before pacing trade if trader chooses|...
Jatin Patel
已发布文章calculate spead
//--- obtain spread from the symbol properties bool spreadfloat=SymbolInfoInteger(Symbol(),SYMBOL_SPREAD_FLOAT); string comm=StringFormat("Spread %s = %I64d points\r\n", spreadfloat?"floating":"fixed", SymbolInfoInteger(Symbol(),SYMBOL_SPREAD...
Jatin Patel
已发布文章iteration2
iteration 2...
Jatin Patel
已发布文章ITERATION 1
ITERATION 1...
Jatin Patel
已发布文章look
make ea based on this artical https://www.mql5.com/en/articles/116 multicurrency ea artical https://www.mql5.com/en/articles/770 https://www.mql5.com/en/articles/723...
· 1 86 1
Jatin Patel
已发布文章multiple symbol
https://www.mql5.com/en/articles/648 https://www.mql5.com/en/articles/105...
· 1 73 1
Jatin Patel
已发布文章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
已发布文章ea start
//+------------------------------------------------------------------+ //| fast-start-example.mq5 | //| Copyright 2012, MetaQuotes Software Corp. | //| http://www.mql5.com | //+------------------------------------------------------------------+...
Jatin Patel
已发布文章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
已发布文章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
已发布文章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
已发布文章jatinpruthvi
How to use the OrdersTotal() int OpenPos() { int total=PositionsTotal(); int count=0...