pull back

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5378 quote
    papero76
    Participant
    Senior

    ciao cerco un codice che calcola il pull back in un trend in salita  e discesa

    il codice deve lavorare nel forex

    Immagine

    Pullback-1.png Pullback-1.png
    #5432 quote
    Nicolas
    Keymaster
    Legend

    Ciao, questo è un rimbalzo su una media mobile di 20 periodi, giusto?

    #5961 quote
    papero76
    Participant
    Senior

    mm 20 è mm 50

    #5991 quote
    Nicolas
    Keymaster
    Legend

    E ‘piuttosto complicato in codice, perché è qualcosa di molto visivo!
    Una semplice rimbalzo media mobile può essere codificato in questo modo:

    mm = average[20](close)
    
    IF low<mm and close>mm then 
      BUY 1 SHARE AT MARKET 
      SET STOP LOSS (close-low)
      SET TARGET PROFIT (highest[10]-close)
    ENDIF 

    Questo è un esempio da esplorare! 🙂

    #6561 quote
    papero76
    Participant
    Senior

    THANK YOU

    whitout moving average?

    i’m looking for analysis candles code as:

    mm= average[20](close)

    c1= high[7] > high[6]

    c2= high[6]>high[5]

    c3= high[5]>high[4]

    c4= high[4]>high[3]

    c5= high[3]>high[2]

    c6= high[2]>high[1]

    c7= high[1]<high

    c8= mm[1]<mm // for to establish up trand

    if c1 and c2 and c3 and c4 and c5 and c6 and c7 and c8 then

    buy 1 shares at market nextbaropen

    endif

     

    but this code analizes the continius descendig order high level

    in differents cases we can have the not continius descendig order high level

    Nicolas , which is for you the best analysis code for that case?

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

pull back


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
papero76 @papero76 Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by papero76
10 years, 4 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 04/14/2016
Status: Active
Attachments: No files
Logo Logo
Loading...