#property strict
#property indicator_chart_window
#include <WinUser32.mqh>
int OnInit(){
ArrangeWindows();//[Alt] + [R]
return(INIT_SUCCEEDED);
}
int OnCalculate(const int rates_total,
const int prev_calculated,
const datetime &time[],
const double &open[],
const double &high[],
const double &low[],
const double &close[],
const long &tick_volume[],
const long &volume[],
const int &spread[])
{
return(rates_total);
}
void ArrangeWindows(){
keybd_event(18, 0, 0, 0);
keybd_event(82, 0, 0, 0);
keybd_event(18, 0, KEYEVENTF_KEYUP, 0);
keybd_event(82, 0, KEYEVENTF_KEYUP, 0);
}
暂无评论