Forex Community Place

Dapatkan hingga
$50000
karena mengundang teman
untuk memperoleh Bonus StartUp
dari InstaForex
Tidak perlu investasi!
Dapatkan bonus
55%
ke akun anda!
Results 1 to 10 of 10

Thread: [Ask] Cari High Low candle tertentu

  1. #1 Collapse Post
    Orang Asing
    ----
     
    tomdachi is an unknown quantity at this point tomdachi's Avatar
    Join Date
    Dec 2014
    Posts
    14
    Accrued Payments
    3 USD (What is this?)
    Thanks
    0
    Thanked 10 Times in 4 Posts
    SubscribeSubscribe
    Subscribed: 0

    [Ask] Cari High Low candle tertentu

    Salam para master coding,

    Saya ingin tanya coding mencari high low candle 5-7.

    Penjelasan:
    Timeframe H1, candle 1 open jam 5:00, candle 2 open jam 6:00, dst. Total ada 24 candle. Nah saya ingin mencari high-low antara candle 5 dan candle 7 (highest dan lowest price level antara candle tersebut).
    Saya sudah utak atik menggunakan iHigh tapi tidak bisa, mohon pencerahannya.

    Though trading on financial markets entails high risk, still it can generate extra income on condition that you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  2. 4 Users Say Thank:

    armi951 (04-18-2019), raden123 (01-14-2018)

  3. #2 Collapse Post
    Orang Asing
    ----
     
    tomdachi is an unknown quantity at this point tomdachi's Avatar
    Join Date
    Dec 2014
    Posts
    14
    Accrued Payments
    3 USD (What is this?)
    Thanks
    0
    Thanked 10 Times in 4 Posts
    SubscribeSubscribe
    Subscribed: 0
    Pagi,

    Mohon pencerahannya.

    Though trading on financial markets entails high risk, still it can generate extra income on condition that you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  4. 2 Users Say Thank:


  5. #3 Collapse Post
    Poster Abadi
    Tiba-tiba
     
    Anti Gengsi has a reputation beyond repute Anti Gengsi has a reputation beyond repute Anti Gengsi has a reputation beyond repute Anti Gengsi has a reputation beyond repute Anti Gengsi has a reputation beyond repute Anti Gengsi has a reputation beyond repute Anti Gengsi has a reputation beyond repute Anti Gengsi has a reputation beyond repute Anti Gengsi has a reputation beyond repute Anti Gengsi has a reputation beyond repute Anti Gengsi has a reputation beyond repute Anti Gengsi's Avatar
    Join Date
    Dec 2016
    Location
    Ganti Gas LPG
    Posts
    3,775
    Accrued Payments
    2121 USD (What is this?)
    Saya bertemu tamu
    1 (detail lebih lanjut)
    Thanks
    2,222
    Thanked 8,320 Times in 3,462 Posts
    SubscribeSubscribe
    Subscribed: 0
    Quote Originally Posted by tomdachi     
    Salam para master coding,

    Saya ingin tanya coding mencari high low candle 5-7.

    Penjelasan:
    Timeframe H1, candle 1 open jam 5:00, candle 2 open jam 6:00, dst. Total ada 24 candle. Nah saya ingin mencari high-low antara candle 5 dan candle 7 (highest dan lowest price level antara candle tersebut).
    Saya sudah utak atik menggunakan iHigh tapi tidak bisa, mohon pencerahannya.
    Om coba tanya master coder disini banyak dan canggih2.
    Klo saya kurang ngerti mungkin itu kan bar hitung aja dari berapa bar semua dari yang rendah dan tinggi. Terus di gabung >=5 dan 7 <=tadi di jadiin satu nama.
    Coba aja om tanya bahasa filternya sama master2 di sini canggih2
    Klick ==>>>

  6. #4 Collapse Post
    Knuckle Gesit
    Mengintai
     
    inLuk has a brilliant future inLuk has a brilliant future inLuk has a brilliant future inLuk has a brilliant future inLuk has a brilliant future inLuk has a brilliant future inLuk has a brilliant future inLuk has a brilliant future inLuk has a brilliant future inLuk has a brilliant future inLuk has a brilliant future inLuk's Avatar
    Join Date
    Apr 2017
    Location
    Indonesia
    Posts
    1,111
    Accrued Payments
    1558 USD (What is this?)
    Thanks
    1,152
    Thanked 1,587 Times in 605 Posts
    SubscribeSubscribe
    Subscribed: 0
    Quote Originally Posted by tomdachi     
    Salam para master coding,

    Saya ingin tanya coding mencari high low candle 5-7.

    Penjelasan:
    Timeframe H1, candle 1 open jam 5:00, candle 2 open jam 6:00, dst. Total ada 24 candle. Nah saya ingin mencari high-low antara candle 5 dan candle 7 (highest dan lowest price level antara candle tersebut).
    Saya sudah utak atik menggunakan iHigh tapi tidak bisa, mohon pencerahannya.
    ini lumayan susah susah gampang gan, tapi saya coba bantu jelaskan

    pertama kita tentukan start time dari area yg akan di ambil HH LL Nya
    dalam contoh ini saya akan ambil candle di jam 1:00 dan mengambil 5 candle ke depan nya
    Code:
    datetime _startTime=StringToTime(TimeToStr(Time[0],TIME_DATE)+"01:00");
    kemudian pin/kunci posisi awal candle nya
    Code:
    int pin=iBarShift(NULL,0,_startTime,True);
    lalu ambil deh data highest nya
    Code:
    double  UPPER=NormalizeDouble(High[iHighest(NULL,0,MODE_HIGH,5,pin)],_Digits);
    double  LOWER=NormalizeDouble(Low[iLowest(NULL,0,MODE_LOW,5,pin)],_Digits);
    untuk yg lebih presisi nanti saya jabarkan lebih lanjut,
    -- Telegram @inLuk --
    kunjungi thread saya:

  7. 3 Users Say Thank:

    ahmadkh01r1 (01-14-2018), Anti Gengsi (07-06-2017), armi951 (04-18-2019)

  8. #5 Collapse Post
    Orang Asing
    ----
     
    tomdachi is an unknown quantity at this point tomdachi's Avatar
    Join Date
    Dec 2014
    Posts
    14
    Accrued Payments
    3 USD (What is this?)
    Thanks
    0
    Thanked 10 Times in 4 Posts
    SubscribeSubscribe
    Subscribed: 0
    Quote Originally Posted by inLuk     
    ini lumayan susah susah gampang gan, tapi saya coba bantu jelaskan

    pertama kita tentukan start time dari area yg akan di ambil HH LL Nya
    dalam contoh ini saya akan ambil candle di jam 1:00 dan mengambil 5 candle ke depan nya
    Code:
    datetime _startTime=StringToTime(TimeToStr(Time[0],TIME_DATE)+"01:00");
    kemudian pin/kunci posisi awal candle nya
    Code:
    int pin=iBarShift(NULL,0,_startTime,True);
    lalu ambil deh data highest nya
    Code:
    double  UPPER=NormalizeDouble(High[iHighest(NULL,0,MODE_HIGH,5,pin)],_Digits);
    double  LOWER=NormalizeDouble(Low[iLowest(NULL,0,MODE_LOW,5,pin)],_Digits);
    untuk yg lebih presisi nanti saya jabarkan lebih lanjut,
    Wow simple ya, logikanya uda dapet. Ane coba dulu ya master.

    Though trading on financial markets entails high risk, still it can generate extra income on condition that you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  9. #6 Collapse Post
    Orang Asing
    ----
     
    hishammaznan is an unknown quantity at this point hishammaznan's Avatar
    Join Date
    Apr 2017
    Posts
    2
    Accrued Payments
    0 USD (What is this?)
    Thanks
    0
    Thanked 0 Times in 0 Posts
    SubscribeSubscribe
    Subscribed: 0
    Sekiranya nak tulis program mql4 tentukan high dan low price candle jam 8 pagi macam mana ya

    Though trading on financial markets entails high risk, still it can generate extra income on condition that you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  10. 2 Users Say Thank:

    Unregistered (2)

  11. #7 Collapse Post
    Forum Master
    ----
     
    gr_mangaloksa has a reputation beyond repute gr_mangaloksa has a reputation beyond repute gr_mangaloksa has a reputation beyond repute gr_mangaloksa has a reputation beyond repute gr_mangaloksa has a reputation beyond repute gr_mangaloksa has a reputation beyond repute gr_mangaloksa has a reputation beyond repute gr_mangaloksa has a reputation beyond repute gr_mangaloksa has a reputation beyond repute gr_mangaloksa has a reputation beyond repute gr_mangaloksa has a reputation beyond repute gr_mangaloksa's Avatar
    Join Date
    Oct 2015
    Posts
    7,364
    Accrued Payments
    2265 USD (What is this?)
    Saya bertemu tamu
    3 (detail lebih lanjut)
    Thanks
    3,448
    Thanked 5,065 Times in 2,192 Posts
    SubscribeSubscribe
    Subscribed: 0
    Quote Originally Posted by hishammaznan     
    Sekiranya nak tulis program mql4 tentukan high dan low price candle jam 8 pagi macam mana ya
    di atas sepertinya sudah ada contoh nya mas, tinggal masukin saja

    di bawah ini contohnya memakai jam server, bukan jam lokal. Tinggal convert saja jam 8 pagi itu kira-kira jam berapa waktu server.


    Code:
    
    datetime _startTime=StringToTime(TimeToStr(Time[i],TIME_DATE)+" "+"04:00");
    
    if(Time[i]==_startTime)
    {
            
             ExtMapBuffer1[i] = High[i];
             ExtMapBuffer2[i] = Low[i];
    }
    kalau di bikin indi kira-kira seperti ini contohnya

    Spoiler Spoiler:


    ket : berlaku hanya di timeframe H1

    Though trading on financial markets entails high risk, still it can generate extra income on condition that you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  12. 2 Users Say Thank:


  13. #8 Collapse Post
    Anggota
    ----
     
    ugino will become famous soon enough ugino's Avatar
    Join Date
    Sep 2018
    Posts
    113
    Accrued Payments
    22 USD (What is this?)
    Thanks
    15
    Thanked 95 Times in 59 Posts
    SubscribeSubscribe
    Subscribed: 0
    Quote Originally Posted by tomdachi     
    Salam para master coding,

    Saya ingin tanya coding mencari high low candle 5-7.

    Penjelasan:
    Timeframe H1, candle 1 open jam 5:00, candle 2 open jam 6:00, dst. Total ada 24 candle. Nah saya ingin mencari high-low antara candle 5 dan candle 7 (highest dan lowest price level antara candle tersebut).
    Saya sudah utak atik menggunakan iHigh tapi tidak bisa, mohon pencerahannya.
    Masukan dari saya , Ini mau ditempel dimana? Maksud saya di TF brapa?
    Kalau disembarang TF , ya rada bingung juga ya? Tapi sederhana nya di Looping saja
    Begini2 saya prnah belajar bahasa C, walaupun terjun ke grab

    Though trading on financial markets entails high risk, still it can generate extra income on condition that you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  14. #9 Collapse Post
    Orang Lama
    Semilir
     
    amtwoxtwo is a name known to all amtwoxtwo is a name known to all amtwoxtwo is a name known to all amtwoxtwo is a name known to all amtwoxtwo is a name known to all amtwoxtwo is a name known to all amtwoxtwo's Avatar
    Join Date
    Sep 2010
    Location
    Sekitaran Bumi
    Posts
    1,057
    Accrued Payments
    140 USD (What is this?)
    Thanks
    96
    Thanked 619 Times in 314 Posts
    SubscribeSubscribe
    Subscribed: 0
    Quote Originally Posted by ugino     
    Masukan dari saya , Ini mau ditempel dimana? Maksud saya di TF brapa?
    Kalau disembarang TF , ya rada bingung juga ya? Tapi sederhana nya di Looping saja
    Begini2 saya prnah belajar bahasa C, walaupun terjun ke grab
    sudah jelas H1 bos.
    bingung knp. kan sudah disebutin 5-7 candle sbelumnya.
    apanya yg di looping. coba sebutin gmn selain yg ditulis di atas
    Yahuuu

  15. <a href="">Forex Portal MT5</a>
  16. #10 Collapse Post
    Anggota
    ----
     
    ugino will become famous soon enough ugino's Avatar
    Join Date
    Sep 2018
    Posts
    113
    Accrued Payments
    22 USD (What is this?)
    Thanks
    15
    Thanked 95 Times in 59 Posts
    SubscribeSubscribe
    Subscribed: 0
    Quote Originally Posted by tomdachi     
    Salam para master coding,

    Saya ingin tanya coding mencari high low candle 5-7.

    Penjelasan:
    Timeframe H1, candle 1 open jam 5:00, candle 2 open jam 6:00, dst. Total ada 24 candle. Nah saya ingin mencari high-low antara candle 5 dan candle 7 (highest dan lowest price level antara candle tersebut).
    Saya sudah utak atik menggunakan iHigh tapi tidak bisa, mohon pencerahannya.
    Kita anggap candle ke 5 dlm per hari . itu = jam 5 (misal)
    Lalu saya coba utk code sbg Indikator
    Code:
    int start()  {
       int    counted_bars=IndicatorCounted();
       int limit, i, Ke;
       double HrgHigh,HrgLow;
       limit=(Bars-counted_bars)-1;
       for (i=limit; i>=0;i--){ 
          Ke=TimeHour(Time[i]);
          if(Ke==5) {
             HrgHigh=0;HrgLow=10000;
          }
          if((Ke>=5)&&(Ke<=7)){
             if (High[i]>HrgHigh) HrgHigh=High[i];
             if (Low[i]<HrgLow) HrgLow=Low[i];
          }
          PBuffer[i]=HrgHigh;
       }
       return(0);
    }

    Though trading on financial markets entails high risk, still it can generate extra income on condition that you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


Please read recommendations on how to write popular and useful posts in the Contest of the Best Answers Please read recommendations on how to write popular and useful posts in the Best Content Contest

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts