indicator for information.

 

i want write an indicator that use eur/usd chart but show usd/chf and usd/jpy ask and bid price,(maybe previously prices)

how can i search this in this site ?

how can i start this subject ?

what can i write in search button ? :)

thanks.

 
yilmazkahya:

i want write an indicator that use eur/usd chart but show usd/chf and usd/jpy ask and bid price,(maybe previously prices)

how can i search this in this site ?

how can i start this subject ?

what can i write in search button ? :)

thanks.

You need to get the basics of mql4 programming. I would recommend the book. For your question, try searching for "multi currency" || "access other symbol prices".

The Search Box is in the upper-right corner of the forum.

 
thank u ubzen. i m looking these.
 
yilmazkahya: i want write an indicator that use eur/usd chart but show usd/chf and usd/jpy ask and bid price,(maybe previously prices)
Why are you posting this when you already know how to get the prices? Your previous post
 

no i want display like this, then

eurchf....

usd jpy...

....
if i can write i want display previous candles prices too. maybe it's easy for you but for me, impossible now. i want learn :S

 
yilmazkahya: i want learn
Then learn to code, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
 

i asked this ? ubzen answered then i look at book and "multi currency" search, i make this codes.

i m learning still slowly. and i fixed some problem for me. what's wrong ? i didn't know Comment() code and i learn it tonight. you can write "use comment() code" it's more helpful for beginners.

i m only set this for now :/

//+------------------------------------------------------------------+
//|                                                
//+------------------------------------------------------------------+
#property copyright 
#property link      


//---- indicator settings
#property indicator_chart_window


//---- indicator parameters
double EURJPY=0;
//---- indicator buffers




//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- drawing settings
      
      
//---- 
   
//---- initialization done
   return(0);
  }

int deinit()
  {
//----
  
  
   return(0);
  }

int start()
  {
   double EURJPY = iClose("EURJPY",PERIOD_M5,1);
   Comment("USDJPY önceki degeri: ",DoubleToStr(EURJPY,5), "\n" , "Saat: ", TimeToStr(TimeCurrent()));
   
    
//---- done
   return(0);
  }
//+------------------------------------------------------------------+
 
WHRoeder: and the nature of your problem.
You've stated no problem, so I'll assume your question has been answered.
 
WHRoeder:
You've stated no problem, so I'll assume your question has been answered.


i know,you helped me before. thank you.

RaptorUK, Ubzen and you are my heroes. but i don't know well mql language. sometimes i even don't know true question of my problem.sorry.

see you.

 
yilmazkahya:

i asked this ? ubzen answered then i look at book and "multi currency" search, i make this codes.

i m learning still slowly. and i fixed some problem for me. what's wrong ? i didn't know Comment() code and i learn it tonight. you can write "use comment() code" it's more helpful for beginners.

i m only set this for now :/

indikatör kullanıyorsunuz ama son değeri-1 alıyorsunuz

basit olarak şöyle

int i,limit, counted_bars=IndicatorCounted();

if(counted_bars > 0) limit=Bars-counted_bars;

for(int i=0; i < limit; i++){

double EURJPY=iClose("EURJPY",PERIOD_M5,i-1);

Comment("USDJPY önceki degeri: ",DoubleToStr(EURJPY,MarketInfo("EURJPY",MODE_DIGITS), "\n", "Saat: ", TimeToStr(TimeCurrent()));

}

int start()
  {
   double EURJPY = iClose("EURJPY",PERIOD_M5,1);
   Comment("USDJPY önceki degeri: ",DoubleToStr(EURJPY,5), "\n" , "Saat: ", TimeToStr(TimeCurrent()));
 
Mehmet:

indikatör kullanıyorsunuz ama son değeri-1 alıyorsunuz

basit olarak şöyle


This is a English language Forum, if you wish to post please post in English.
Reason: