Results 1 to 2 of 2
 0 Attachment(s)    

Thread: Tops and bottoms, is it possible?

  1. #1
    Junior Member
    Join Date
    Jun 2012

    Default Tops and bottoms, is it possible?

    Hi all,

    I'm new to the Mql4 language but have some knowledge on c++ programming, yet i find mql a bit touh language. I read some tutorials but they are worthless :/

    So, i have an idea for an EA but i need some help.
    My questions:
    1) is it possible that the ea will save 2 past events on an array and compare them to the bars on wich those events occured? e.g - stochastic moved upwards and made a high and then crossed downwards. That cross when both %k = %d for example 78.36% will be put in an array called cd[1] (cross down). the second cross ( from down to up) will be saved on an array cu[1] (cross up). Then it compares the arrays between themselves.

    If cd[1]>cd[2] then do another compare
    Else cd[1]==cd[2]

    plz if anyone can help me on this one, i can explain all the logic behind the ea, post here or pm me

    Sorry for my english.
    With regards Dan.

  2. #2
    Junior Member
    Join Date
    Jun 2012


    Ok, to be more understandable, the question is how do i take data from a stochastic oscillator or 2 different movin averages into an array of my choice?
    And how can i order the ea take data from a price bar occured at a relevant event e.g cross of the 2 ma's?

Similar Threads

  1. How to Pick Tops and Bottoms With the COT Report
    By painofhell in forum Trading discussion
    Replies: 0
    Last Post: 03-31-2015, 13:20
  2. RE: Predict Tops and Bottoms with Good Accuracy
    By ZeroCool in forum Manual systems statements
    Replies: 6
    Last Post: 09-30-2014, 09:38
  3. Two Potential Double Tops
    By SRTrader in forum Technical analysis
    Replies: 4
    Last Post: 05-25-2010, 14:22
  4. Double Bottoms Double Tops Pattern
    By way2Freedom in forum Indicators
    Replies: 7
    Last Post: 11-22-2009, 02:53

Tags for this Thread

high, mql, mql4, oscillator, programming, stochastic

Posting Permissions

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