codice da VT a Pro

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #81032 quote
    sgiavelli
    Participant
    New

    Buon pomeriggio,chiedo cortesemente se qualcuno può tradurmi il seguente codice.Grazie

    Var: miamedia = MOV(C,5,S);

    if  (C<miamedia) then

    enterlong(nextbar,atopen);

    endif;

    if positiondir=1 and (C>miamedia) then

    exitlong(nextbar,atopen);

    endif;

    #81042 quote
    robertogozzi
    Moderator
    Master

    Avevi pubblicato il topic nel forum in lingua spagfnola, così l’ho trasferito su quello italiano.

    Spero troverai qualcuno che riesca a farlo (io non so).

    #81149 quote
    Nicolas
    Keymaster
    Master

    Potrebbe essere tradotto in questo modo:

    miamedia = average[5](close)
    
    if  (Close<miamedia) then
    
     buy at market 
    
    endif
    
    if longonmarket and (Close>miamedia) then
    
     sell at market 
    
    endif
    #81635 quote
    sgiavelli
    Participant
    New

    Grazie mille Sig. Nicolas per la traduzione del codice precedente,ho provato con questo ma  non sono assolutamente capace.Se cortesemente potete aiutarmi.

    Var: miamedia;

    miamedia= MOV(C,5S);

    if crossover (c,miamedia) then

    enterlong(nextbar,atopen);

    endif

    if crossunder (c,miamedia) then

    exitlong(nextbar,atopen);

    endif;

    #81671 quote
    Nicolas
    Keymaster
    Master

    Dovresti imparare come programmare con ProRealTime! 😉

    miamedia = average[5](close)
    
    if  (Close crosses over miamedia) then
    
     buy at market 
    
    endif
    
    if longonmarket and (Close crosses under miamedia) then
    
     sell at market 
    
    endif
    #81702 quote
    sgiavelli
    Participant
    New

    Buonasera,

    La ringrazio molto Sig. Nicolas per la sua gentile disponibilità.

    Cordialmente

    Stefano

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

codice da VT a Pro


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
sgiavelli @sgiavelli Participant
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by sgiavelli
7 years, 5 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 09/21/2018
Status: Active
Attachments: No files
Logo Logo
Loading...