MA > pointsize

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34155 quote
    hhintzen
    Participant
    Junior

    How can help my,

    I wan’t that my strategie go long if:

    indicator1 = CALL AMA
    indicator2 = CALL AMA
    c1 = (indicator1 > indicator2[1])
    indicator3 = CALL AMA
    c2 = (open> indicator3)

    C1 NOT PREVIOUS MINUTE BUT;  1 PONIT SIZE ORE 1%

    Harry

    #34216 quote
    Nicolas
    Keymaster
    Master

    I’m sorry but this is not clear 🙂

    Could you please reformulate your question? You can use google translate from your own language to get something good in English. Thank you.

    #34220 quote
    hhintzen
    Participant
    Junior

    I would like if my indicator in the current minute is 0.5  point higher, than my indicator in the previous minute go long

    indicator1 0.5 point higher than indicator2 in the previos minute

    I hope you understand what I mean

     

    Harry

     

    #34238 quote
    GraHal
    Participant
    Master

    Hi Harry

    Is below what you need?

    I did it with the simplifed Code Creator … it’s so easy … see attached

    // Definition of code parameters
    DEFPARAM CumulateOrders = False // Cumulating positions deactivated
    
    // Conditions to enter long positions
    c1 = (close > close[1]+0.5*pointsize)
    
    IF c1 THEN
    BUY 1 CONTRACT AT MARKET
    ENDIF
    
    Nicolas thanked this post
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

MA > pointsize


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
hhintzen @hhintzen Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by GraHal
8 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 05/01/2017
Status: Active
Attachments: 1 files
Logo Logo
Loading...