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...
Jatin Patel
パブリッシュされた投稿multiple symbol
https://www.mql5.com/en/articles/648 https://www.mql5.com/en/articles/105...
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...