[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 252
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
The script works!!!!!
The last one Roll gave. In any case, at least it works on M5, otherwise I haven't seen any visual work of scripts and advisors here yet. I've never seen such scripts here before.
How to fix it, how to make it smart, I do not know. Ah, I understand.
Earlier, yesterday or the day before yesterday, I compiled something exactly like this, but there was no compilation. Probably, it's all these imports and declarations I haven't written.
#property show_inputs
#import "user32.dll"
int PostMessageA(int hWnd,int Msg,int wParam,int lParam);
void keybd_event(int bVk,int bScan,int dwFlags,int dwExtraInfo);
#import
#define WM_COMMAND 0x0111
I tried it but it didn't work. My older brother uninstalled Windows and when I asked him to add a Russian layout, he said he lived in Ukraine. My brother is a lot older, he is 25. He is the oldest. And our whole school and the yard, the boys and my mum speak Russian.
I am going to try again.
The last one Roll gave. In any case, at least it works on M5, otherwise I haven't seen any visual work of scripts and advisors here yet. I've never seen such scripts here before.
How to fix it, to make it smart, I don't know...
The only external variable Per equals thevalue of the switched graph Period can be any of the following values:
Constant
Value
Description
PERIOD_M1
1
1 minute
PERIOD_M5
5
5 minutes
PERIOD_M15
15
15 minutes
PERIOD_M30
30
30 minutes
PERIOD_H1
60
1 hour
PERIOD_H4
240
4 hours
PERIOD_D1
1440
1 day
PERIOD_W1
10080
1 week
PERIOD_MN1
43200
1 month
Change the value of the external variable!