MQL5에 대한 소원 - 페이지 67

 
안녕하세요 여러분! 그리고 MQL5의 출시는 대략 언제쯤 됩니까?
 
zax >> :
안녕하세요 여러분! 그리고 MQL5의 출시는 대략 언제쯤 됩니까?

"아들아 ... 이것은 환상적이다 ..." (c) 무엇을 광고했는지 기억이 나지 않습니다 ... :)

 
double AccountFreeMarginCheck ( string symbol , int cmd , double volume ) 

위험을 설정할 수 있는 유사한 기능을 만드십시오. 위험을 감수하려는 비율을 설정하면 로트 크기가 반환됩니다.

그리고 그는 이미 괴로워했습니다.

그리고 한 가지 더, 표시기에서 호출할 수 있도록 합니다(이제 불행히도 오류가 생성됨). 미리 감사드립니다.

 
사람들이 VC2010으로 전환하는 지금 VC6.0에서 개발이 진행되고 있다고 생각하지 않습니다.
 


-------------------------------------------------- --------------------

함수는 GMT Timzone Broker Server에서 오프셋을 반환합니다.

 #import "Kernel32.dll"
   void GetLocalTime(int& gLti[]);
   void GetSystemTime(int& gSt[]);
   int GetTimeZoneInformation(int& gtzI[]);


//returns Offset from GMT Timzone(Broker Server )
int GMTOffset ( ) {
   int time_a [ 4 ] ;
   int time_b [ 43 ] ;
   
   GetSystemTime ( time_a ) ;
   int time0 = time_a [ 0 ] & 65535 ;
   int time1 = time_a [ 0 ] > > 16 ;
   int time2 = time_a [ 1 ] > > 16 ;
   int time3 = time_a [ 2 ] & 65535 ;
   int time4 = time_a [ 2 ] > > 16 ;
   int time5 = time_a [ 3 ] & 65535 ;
   string fuse1 = FormatDateTime ( time0 , time1 , time2 , time4 , time4 , time5 ) ;
   
   GetLocalTime ( time_a ) ;
   time0 = time_a [ 0 ] & 65535 ;
   time1 = time_a [ 0 ] > > 16 ;
   time2 = time_a [ 1 ] > > 16 ;
   time3 = time_a [ 2 ] & 65535 ;
   time4 = time_a [ 2 ] > > 16 ;
   time5 = time_a [ 3 ] & 65535 ;
   int time6 = time_a [ 3 ] > > 16 ;
   string fuse_sub = time6 + 1000 ;
   fuse_sub = StringSubstr ( fuse_sub , 1 ) ;
   fuse1 = FormatDateTime ( time0 , time1 , time2 , time3 , time4 , time5 ) ;
   int t1 = 0 ;
   int gtt1 = GetTimeZoneInformation ( time_b ) ;
   if ( gtt1 ! = 0 ) t1 = time_b [ 0 ] ;
   if ( gtt1 = = 2 ) t1 + = time_b [ 42 ] ;
   int timex2 = StrToTime ( fuse1 ) ;
   int tisu = TimeCurrent ( ) - ( timex2 + 60 * t1 ) ;
   double trmr = MathRound ( tisu / 360 ) ;
   int tzoff = MathRound ( trmr / 10.0 ) ;
   return ( tzoff ) ;
}

//format standart
string FormatDateTime ( int time0 , int time1 , int time2 , int time3 , int time4 , int time5 ) {
   string sub1 = time1 + 100 ; sub1 = StringSubstr ( sub1 , 1 ) ;
   string sub2 = time2 + 100 ; sub2 = StringSubstr ( sub2 , 1 ) ;
   string sub3 = time3 + 100 ; sub3 = StringSubstr ( sub3 , 1 ) ;
   string sub4 = time4 + 100 ; sub4 = StringSubstr ( sub4 , 1 ) ;
   string sub5 = time5 + 100 ; sub5 = StringSubstr ( sub5 , 1 ) ;
   return ( StringConcatenate ( time0 , "." , sub1 , "." , sub2 , " " , sub3 , ":" , sub4 , ":" , sub5 ) ) ;
}


-------------------------------------------------- -------------------------------------------------- -

이 함수는 로컬 시스템의 GMT Timzone에서 오프셋을 반환합니다.

 //return Timzone GMT offset from Local PC
int LocalGMTOffset ( ) {
   int time_a [ 4 ] ;
   int time_b [ 43 ] ;
   
   GetSystemTime ( time_a ) ;
   int time0 = time_a [ 0 ] & 65535 ;
   int time1 = time_a [ 0 ] > > 16 ;
   int time2 = time_a [ 1 ] > > 16 ;
   int time3 = time_a [ 2 ] & 65535 ;
   int time4 = time_a [ 2 ] > > 16 ;
   int time5 = time_a [ 3 ] & 65535 ;
   string fuse1 = FormatDateTime ( time0 , time1 , time2 , time4 , time4 , time5 ) ;
   
   GetLocalTime ( time_a ) ;
   time0 = time_a [ 0 ] & 65535 ;
   time1 = time_a [ 0 ] > > 16 ;
   time2 = time_a [ 1 ] > > 16 ;
   time3 = time_a [ 2 ] & 65535 ;
   time4 = time_a [ 2 ] > > 16 ;
   time5 = time_a [ 3 ] & 65535 ;
   int time6 = time_a [ 3 ] > > 16 ;
   string fuse_sub = time6 + 1000 ;
   fuse_sub = StringSubstr ( fuse_sub , 1 ) ;
   fuse1 = FormatDateTime ( time0 , time1 , time2 , time3 , time4 , time5 ) ;
   int t1 = 0 ;
   int gtt1 = GetTimeZoneInformation ( time_b ) ;
   if ( gtt1 ! = 0 ) t1 = time_b [ 0 ] ;
   if ( gtt1 = = 2 ) t1 + = time_b [ 42 ] ;
   int timex2 = StrToTime ( fuse1 ) ;
   int tisu = TimeLocal ( ) - ( timex2 + 60 * t1 ) ;
   double trmr = MathRound ( tisu / 360 ) ;
   int tzoff = MathRound ( trmr / 10.0 ) ;
   return ( tzoff ) ;
}

//format standart
string FormatDateTime ( int time0 , int time1 , int time2 , int time3 , int time4 , int time5 ) {
   string sub1 = time1 + 100 ; sub1 = StringSubstr ( sub1 , 1 ) ;
   string sub2 = time2 + 100 ; sub2 = StringSubstr ( sub2 , 1 ) ;
   string sub3 = time3 + 100 ; sub3 = StringSubstr ( sub3 , 1 ) ;
   string sub4 = time4 + 100 ; sub4 = StringSubstr ( sub4 , 1 ) ;
   string sub5 = time5 + 100 ; sub5 = StringSubstr ( sub5 , 1 ) ;
   return ( StringConcatenate ( time0 , "." , sub1 , "." , sub2 , " " , sub3 , ":" , sub4 , ":" , sub5 ) ) ;
}


+2 샘플()

파일:
sample.zip  2 kb
 

IninitializeReason() 함수

 
kernelmd >> :
사람들이 VC2010으로 전환하는 지금 VC6.0에서 개발이 진행되고 있다고 생각하지 않습니다.

MT5는 모른다

VC6의 MT4가 작성되었습니다!

 
YuraZ >> :

MT5는 모른다

VC6의 MT4가 작성되었습니다!

네, 맞습니다. 이상합니다.

그러나 멀티 코어를 사용하기 위해 최신 버전의 MSVC가 필요하지 않습니다. 제 생각에는 스레드를 올바르게 병렬화하는 것이 훨씬 더 중요합니다. 즉, 문제는 아키텍처에 있습니다.

 

추가 옵션 "뉴스 허용"에서 확인란을 선택하여 들어오는 트래픽을 줄이고 싶습니다.

2개 이상의 터미널을 시작할 때 각각은 계정의 "순위"(교육, 경쟁, 실제 등)에 따라 뉴스를 다운로드합니다. 그것은 추가 트래픽입니다. 원칙적으로는 실제 계정 으로 뉴스를 수신하는 것이 가능하지만, 실행 중인 다른 단말에서는 전혀 필요하지 않습니다.

또는 모든 것을 완전히 비활성화하십시오.

 
pvm63 >> :

추가 옵션 "뉴스 허용"에서 확인란을 선택하여 들어오는 트래픽을 줄이고 싶습니다.

2개 이상의 터미널을 시작할 때 각각은 계정의 "순위"(교육, 경쟁, 실제 등)에 따라 뉴스를 다운로드합니다. 그것은 추가 트래픽입니다. 원칙적으로는 실제 계정으로 뉴스를 수신하는 것이 가능하지만, 실행 중인 다른 단말에서는 전혀 필요하지 않습니다.

또는 모든 것을 완전히 비활성화하십시오.

음 꺼져