Pair trading and multicurrency arbitrage. The showdown. - page 97 1...90919293949596979899100101102103104...323 New comment Maxim Kuznetsov 2023.11.04 19:46 #961 mytarmailS #:Show me the code, please. at first glance, in MQL: for(int i=1;i<ArraySize(usdxxx);i++) { logusdxxx[i]=MathLog(usdxxx[0])-MathLog(usdxxx[i]) ; } MathLog10 instead of MathLog - grading will be more convenient mytarmailS 2023.11.04 19:56 #962 Maxim Kuznetsov #:just off the top of my head, in MQL: for(int i=1;i<ArraySize(usdxxx);i++) { logusdxxx[i]=MathLog(usdxxx[0])-MathLog(usdxxx[i]) ; } MathLog10 instead of MathLog - grading will be more convenient It turned out like this mytarmailS 2023.11.04 20:01 #963 Maxim Kuznetsov #: on what timeframe do you watch the indicator? Maxim Kuznetsov 2023.11.04 20:09 #964 mytarmailS #:It went like this It looks like it - all on a common scale and moving synchronously. I just don't make candlesticks so as not to overload the chart. Maxim Kuznetsov 2023.11.04 20:11 #965 mytarmailS #:on what timeframe do you watch the indicator? on any timeframe I want to watch :-) from M1 to D1. intraday of course M1-M5 mytarmailS 2023.11.04 20:26 #966 Maxim Kuznetsov #:whatever I want to watch :-) from M1 to D1. intraday of course M1-M5 last day on m1 looks like this ? Maxim Kuznetsov 2023.11.04 20:34 #967 mytarmailS #:Is this what the last day on m1 looks like? to the nearest sign :-) I could have confused the code "by hand", who to subtract from whom. mytarmailS 2023.11.04 20:48 #968 Maxim Kuznetsov #:to the nearest sign :-) I could have confused the code "by hand", who to subtract from whom. Well, that's cool. I'll keep the code, maybe I'll need it someday. Maxim Kuznetsov 2023.11.04 20:56 #969 mytarmailS #:Well, it's fun. I'll keep the code, maybe I'll need it someday. and if you put the time in ln, it should be a lot of fun.... trampampam 2023.11.04 20:58 #970 Maxim Kuznetsov #:and if you put the time in ln, it's gonna be a lot of fun. I can't imagine what fun it is when a simple percentage change in prices (from the beginning of the day) gives such a picture: Are you sure you are doing it right? In fact, there is no shift at the end of the day..... Files: 2023-11-05_005911.png 41 kb [WARNING CLOSED!] Any newbie ea buys and sellls Get Close Price of 1...90919293949596979899100101102103104...323 New comment
Show me the code, please.
at first glance, in MQL:
for(int i=1;i<ArraySize(usdxxx);i++) {
logusdxxx[i]=MathLog(usdxxx[0])-MathLog(usdxxx[i]) ;
}
MathLog10 instead of MathLog - grading will be more convenient
just off the top of my head, in MQL:
for(int i=1;i<ArraySize(usdxxx);i++) {
logusdxxx[i]=MathLog(usdxxx[0])-MathLog(usdxxx[i]) ;
}
MathLog10 instead of MathLog - grading will be more convenient
It turned out like this
on what timeframe do you watch the indicator?
It went like this
It looks like it - all on a common scale and moving synchronously.
I just don't make candlesticks so as not to overload the chart.
on what timeframe do you watch the indicator?
on any timeframe I want to watch :-) from M1 to D1.
intraday of course M1-M5
whatever I want to watch :-) from M1 to D1.
intraday of course M1-M5
last day on m1 looks like this ?
Is this what the last day on m1 looks like?
to the nearest sign :-)

I could have confused the code "by hand", who to subtract from whom.
to the nearest sign :-)
I could have confused the code "by hand", who to subtract from whom.
Well, that's cool.
I'll keep the code, maybe I'll need it someday.
Well, it's fun.
I'll keep the code, maybe I'll need it someday.
and if you put the time in ln, it should be a lot of fun....
and if you put the time in ln, it's gonna be a lot of fun.
I can't imagine what fun it is when a simple percentage change in prices (from the beginning of the day) gives such a picture:
Are you sure you are doing it right? In fact, there is no shift at the end of the day.....