[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 1017
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
save it to CSV - and read it in MStock...
MStok doesn't open in csv for some reason
Hello! please help me to remove the line in the "past regression deviated " indicator https://www.mql5.com/ru/code/7518,
the arrow indicates the object.
isaev-av:
в csv MСток не открывает почемуто
Here you can download quotes in *dat: http: //mfd.ru/Export/#Tickers=&Alias=&Period=0&StartDate=08.12.2010&EndDate=08.12.2010&SaveFormat=0&SaveMode=0&Filename=&FieldSeparator=%253b&DecimalSeparator=.&DateFormat=yyyyMMdd&TimeFormat=Hmmss&DateFormatCustom=&TimeFormatCustom=&AddHeader=1&RecordFormat=2http://mfd.ru/Export/#Tickers=&Alias=&Period=0&StartDate=08.12.2010&EndDate=08.12.2010&SaveFormat=0&SaveMode=0&Filename=&FieldSeparator=%253b&DecimalSeparator=.&DateFormat=yyyyMMdd&TimeFormat=HHmmss&DateFormatCustom=&TimeFormatCustom=&AddHeader=1&RecordFormat=2
Choose the instrument you want, select the format - metastock and download at your leisure :)
Can you please advise how to open a position on a currency pair which does not have an EA attached? For example: Is my Expert Advisor attached to EUR/USD chart and I need to add into my code the opening of a position on GBP/CAD? When I do the following:
OrderSend("GBPCAD",OP_BUY,Lots,Bid,3,loss*Point,TakeProfit*PPoint," ",123,0,Red);
There is an error in the log:
EURUSD,M15: unknown symbol name GBPCAD for OrderSend function
EURUSD,M15: OrderSend error 4106
Sincerely.
Hello! please help me to remove the line in the "past regression deviated " indicator https://www.mql5.com/ru/code/7518,
arrow indicates the object.
If I'm not mistaken, this must be deleted:
//Linear regression trendline
ObjectDelete(period+"m "+LR.length+" TL);
ObjectCreate(period+"m "+LR.length+" TL",OBJ_TREND,0,Time[start.bar],LR.price.1,Time[end.bar],LR.price.2);
ObjectSet(period+"m "+LR.length+" TL",OBJPROP_COLOR,Orange);
ObjectSet(period+"m "+LR.length+" TL",OBJPROP_WIDTH,2);
ObjectSet(period+"m "+LR.length+" TL",OBJPROP_RAY,false);
//... standard deviation...
I could be wrong as I'm not a proger =)
Can you please tell me how to open a position on a currency pair that does not have an EA attached to it? For example: EA is attached to EUR/USD, but I need to open a position on GBP/CAD? When I do the following:
OrderSend("GBPCAD",OP_BUY,Lots,Bid,3,loss*Point,TakeProfit*Point," ",123,0,Red);
Depending on the dc, the names of the pairs may be different, so that you know what you are dealing with, write and show the inscription that appears in the log
2010.12.08 19:39:49 2010.08.05 11:38 qq EURJPY,M15: EURJPY
here
2010.12.08 19:39:49 2010.08.05 11:38 qq EURJPY,M15: EURJPY
here
If I'm not mistaken remove it:
//Linear regression trendline
ObjectDelete(period+"m "+LR.length+" TL);
ObjectCreate(period+"m "+LR.length+" TL",OBJ_TREND,0,Time[start.bar],LR.price.1,Time[end.bar],LR.price.2);
ObjectSet(period+"m "+LR.length+" TL",OBJPROP_COLOR,Orange);
ObjectSet(period+"m "+LR.length+" TL",OBJPROP_WIDTH,2);
ObjectSet(period+"m "+LR.length+" TL",OBJPROP_RAY,false);
//... standard deviation...
I could be wrong as I'm not a proger =)
Something's wrong, the line is gone, but so is everything else :(
Here you can download quotes in *dat: http://mfd.ru/Export/#Tickers=&Alias=&Period=0&StartDate=08.12.2010&EndDate=08.12.2010&SaveFormat=0&SaveMode=0&Filename=&FieldSeparator=%253b&DecimalSeparator=.&DateFormat=yyyyMMdd&TimeFormat=Hmmss&DateFormatCustom=&TimeFormatCustom=&AddHeader=1&RecordFormat=2http://mfd.ru/Export/#Tickers=&Alias=&Period=0&StartDate=08.12.2010&EndDate=08.12.2010&SaveFormat=0&SaveMode=0&Filename=&FieldSeparator=%253b&DecimalSeparator=.&DateFormat=yyyyMMdd&TimeFormat=HHmmss&DateFormatCustom=&TimeFormatCustom=&AddHeader=1&RecordFormat=2
choose the instrument you want, select the format - metastock and download at your leisure :)
thanks