포럼을 어지럽히 지 않도록 모든 초보자 질문. 프로, 놓치지 마세요. 너 없이는 아무데도 - 6. - 페이지 622

 

MT-4에 GetTickerHistory 플러그인을 설치하면 시작되지만 Windows 7 x64에서 다운로드가 진행되지 않는 경우 다른 방법으로 외부 인덱스를 로드할 수 있는지 알려주실 수 있습니까?

미리 감사드립니다.
 

기술 분석을 위한 차트를 다운로드할 수 있습니까 - S&P 500 선물 차트, TA 25 차트 및 S&P 500 차트 지수, 가능하다면 어떻게 하는지 알려주실 수 있나요? 다운로드 방법에 대한 설명이 있을 수 있습니다!

그런 브로커를 찾을 수 없습니다. 관심 있는 인덱스를 나(아마도 실시간으로) 또는 브로커에게 로드할 수 있는 기술적 분석을 위한 프로그램을 조언할 수 있습니까?

이러한 MT-4 또는 MT-5 지수를 다운로드할 수 있습니다. 저는 이제 막 기술 분석을 시작하려고 합니다. 제 작업에 대처하는 방법에 대해 전문가의 조언을 듣고 싶습니다.

도움을 주셔서 미리 감사드립니다.
 
물건을 도와주세요.
이름의 처음 세 글자를 알고 있는 마지막 물건의 가격을 찾으려고 합니다.

고맙습니다.

 double Entry()
{
   double Price;
   string ObjName = "ABC" ;
   int QuantObjects= ObjectsTotal ();
   for (Cnt=QuantObjects- 1 ;Cnt>= 0 ;Cnt--)
  { 
     if ( ObjectFind ( 0 , StringSubstr (ObjName, 3 , StringLen (ObjName)- 3 )) > - 1 )
    {
      Price = NormalizeDouble (ObjectGet( StringSubstr (ObjName, 3 , StringLen (ObjName)- 3 ),OBJPROP_PRICE1), Digits );
    }
     else Price = 0 ;
  }
   return (Price);
}

 
rustein :
물건을 도와주세요.
이름의 처음 세 글자를 알고 있는 마지막 물건의 가격을 찾으려고 합니다.

고맙습니다.

그래서 시도

 double Entry()
{
   double Price;
   string ObjName = "ABC" ;
   int QuantObjects= ObjectsTotal ();
   string name;
   for (Cnt=QuantObjects- 1 ;Cnt>= 0 ;Cnt--)
  { 
   name= ObjectName (cnt);
   if ( StringSubstr (name, 0 , 3 )=ObjName)
    {
      Price = NormalizeDouble (ObjectGet(name,OBJPROP_PRICE1), Digits );
return (Price);

    }
     else Price = 0 ;
  }
   return (Price);
}
 
Roger :

그래서 시도


그것이 작동 방식입니다
정말 감사합니다.
 

표시기가 있습니다.

//+------------------------------------------------------------------+
//| T3MA_ALARM.mq4 |
//| Copyright © 2011, Martingeil |
//| fx.09@mail.ru |
//+------------------------------------------------------------------+
//исправленный Martingeil, теперь можно в тестере увидеть его стрелки.
#property copyright "Copyright © 2011, Martingeil"
#property link "fx.09@mail.ru"

//---- indicator settings
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Blue
#property indicator_color2 Red
//---- indicator parameters
extern int period = 4; //12
extern int shift = 0; //сдвиг по бару
//---- indicator buffers
double BufferUp[],BufferDn[];
int q,st=5;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
IndicatorBuffers(2);
//---- drawing settings
SetIndexStyle(0,DRAW_ARROW,2);
SetIndexArrow(0,233);
SetIndexStyle(1,DRAW_ARROW,2);
SetIndexArrow(1,234);

SetIndexBuffer(0,BufferUp);//стрелка синяя верх
SetIndexBuffer(1,BufferDn);//стрелка красная вниз
//---- name for DataWindow and indicator subwindow label
IndicatorShortName("T3MA-ALARM ("+period+")");
//---- initialization done
if(Digits==3 || Digits==5) q=10;
st=st*q;
return(0);}

int deinit()
{
ObjectDelete("low");
ObjectDelete("high");
}
//+----------------------------------------------------------------------+
//| Moving Average of Oscillator |
//+----------------------------------------------------------------------+
int start()
{
//---- ArraySetAsSeries --------------------------------------------------
double Ma[500],MaOn[500];
double y0[500],y1[500],y2[500];
int i,limit=ArraySize(Ma);
ArraySetAsSeries(Ma,true);
//---- IndicatorCounted --------------------------------------------------
int counted_bars=IndicatorCounted();
int limit1=Bars-counted_bars;
if (limit1>1){limit1=Bars-period-1;}
//---- EMA ---------------------------------------------------------------
for(i=limit1; i>=0; i--) Ma[i] =iMA(NULL,0,period,0,MODE_EMA,PRICE_CLOSE,i);
for(i=limit1; i>=0; i--) MaOn[i]=iMAOnArray(Ma,limit,period,0,MODE_EMA,i);

for(i=limit1; i>=0; i--)
{
y0[i+shift]=MaOn[i+shift];
y1[i+1+shift]=MaOn[i+1+shift];
y2[i+2+shift]=MaOn[i+2+shift];

if(y0[i+shift]-y1[i+1+shift]<0 && y1[i+1+shift]-y2[i+2+shift]>0){BufferDn[i+1]=High[i+1]+st*Point;}//продажа
if(y0[i+shift]-y1[i+1+shift]>0 && y1[i+1+shift]-y2[i+2+shift]<0){BufferUp[i+1]=Low[i+1]-st*Point;}//покупка
//---- Signal Trend Up || Dn ---------------------------------------------
if(y0[i]-y1[i+1]>0) Comment ("\n SWAPLONG = ",MarketInfo(Symbol(),MODE_SWAPLONG),
" SWAPSHORT = ",MarketInfo(Symbol(),MODE_SWAPSHORT),"\n BUY TREND ",DoubleToStr(Close[i],Digits));

else if(y0[i]-y1[i+1]<0) Comment ("\n SWAPLONG = ",MarketInfo(Symbol(),MODE_SWAPLONG),
" SWAPSHORT = ",MarketInfo(Symbol(),MODE_SWAPSHORT),"\n SELL TREND ",DoubleToStr(Close[i],Digits));
}


//---- done
return(0);}
//+---------------------------------------------------------------------+


화살표가 나타날 때 그 위치에 들어갈 어드바이저를 만들고 싶은데 어드바이저에서 어떤 조건을 지정해야 하나요?

 

모두에게 좋은 하루 .... 여러분, 시간 매개 변수 문제를 처리하도록 도와주세요. 작업은 다음과 같습니다. 특정 시간 매개변수에 고정된 변수가 있는 입력 기준이 있습니다.

M5maBIG_1= iMA(ed, PERIOD_M5,150,0 ,MODE_EMA,PRICE_CLOSE,1);

M5L=NormalizeDouble(iLow(ed,PERIOD_M5,1),Digits);

if(M5L<M5maBIG_1){ordersend(520);} ---- ((M5L<M5maBIG_1))__((M5L)<(M5maBIG_1))__(((M5L)<(M5maBIG_1))) - --- 역시 작동하지 않습니다!

if(a==520){RefreshRates();//_________________________________________________________________________________________________

op=NormalizeDouble(질문, 숫자);sl=NormalizeDouble(op-62*kio*Point,Digits);tp=NormalizeDouble(op+54*kio*Point,Digits);

티켓=OrderSend(ed,OP_BUY, Lot,op,3,sl,0,comm,magic+520,0,Green);//_____Lot=

err=GetLastError();

if(err!=0){Print("오류-",err," op-",op," sl-",sl," tp-",tp);}}

테스트가 동시에 M5일 때 모든 것이 작동하지만 변경만 하면(예: H1에서 테스트할 때) 결과도 변경됩니다. 올바르게 작성하는 방법은 무엇입니까? 감사해요!!!

 

MaperiodAVTO = 750 / Period();

라베오사 :


모두에게 좋은 하루 .... 여러분, 시간 매개 변수 문제를 처리하도록 도와주세요. 작업은 다음과 같습니다. 특정 시간 매개변수에 고정된 변수가 있는 입력 기준이 있습니다.

M5maBIG_1= iMA(ed,PERIOD_M5,150,0,MODE_EMA,PRICE_CLOSE,1);

M5L=NormalizeDouble(iLow(ed,PERIOD_M5,1),Digits);

예를 들면 다음과 같습니다.

 int MaperiodAVTO; 

if( Period()>1){ 

MaperiodAVTO = 750 / Period();

}

else

{

  MaperiodAVTO = 750;

}

 M5maBIG_1= iMA(ed, Period() , MaperiodAVTO ,0,MODE_EMA,PRICE_CLOSE,1);  


 
benzovoz :

예를 들면 다음과 같습니다.

int MaperiodAVTO = 750 / Period();

  M5maBIG_1= iMA(ed, Period() , MaperiodAVTO ,0,MODE_EMA,PRICE_CLOSE,1);  



왜 750이야?
 
laveosa :

왜 750이야?

그는 이 숫자를 좋아한다