How would I go about Programming this?

Discussion in 'App Development' started by GuyM, Sep 15, 2011.

  1. monti1a

    monti1a

    I'm not familiar with the software but try replacing Close[0] with "High[0] >=". You will also need a low trigger such as "Low[0] <="
     
    #11     Sep 18, 2011
  2. GuyM

    GuyM

    MarketMasher and Monti1a,

    Thank for the help, this worked really well.

    The code i used was:


    InputNumber= 63.47

    Condition1= High[0] >= inputnumber
    Condition2 =Low[0] <= inputnumber

    IF Condition1 AND Condition2 THEN

    Structure= 1
    Else

    Structure= 0
    ENDIF

    RETURN structure as "level hit"

    Really appreciate your input, its been a big help.

    Cheers guys!
     
    #12     Sep 18, 2011
  3. No thanks required.

    Just the 1st million in profit from your system.... :p
     
    #13     Sep 18, 2011
  4. GuyM

    GuyM

    Haha I'll keep you posted with how it works out!
     
    #14     Sep 18, 2011