Prorealcode to Easylanguage P&V buildup

Forums ProRealTime English forum ProBuilder support Prorealcode to Easylanguage P&V buildup

  • This topic has 1 reply, 2 voices, and was last updated 1 week ago by avatarIván.
Viewing 2 posts - 1 through 2 (of 2 total)
  • #243616

    I need this code translated into EasyLanguage from ProRealcode.

    //Define thresholds for volume

    VOLTHRESHOLD1MIN=0.5//0.50% increase for 1 minute

    VOLTHRESHOLD5MIN=1// 1% increase for 5 minutes

    VOLTHRESHOLD10MIN=1.5//1.5% increase for 10 minutes

     

     

    PRICETHRESHOLD30=0.5  //0.5% increase for 30 minutes

    PRICETHRESHOLD60=1.0  //1% increase for 60 minutes

    PRICETHREHOLD120=1.5   // 1.5 % increase for 120 minutes

     

    timeframe(daily)

    AVGDAILYVOL=AVERAGE[10](VOLUME)

    timeframe(default)

    // Volume calculations

    VOL1MIN=VOLUME

    VOL5MIN=SUMMATION[5](VOLUME)

    VOL10MIN=SUMMATION[10](VOLUME)

    // Price calculations

    INCREASE30=CLOSE-CLOSE[30]

    PERINC30=(INCREASE30/CLOSE[30])*100

    INCREASE60=CLOSE-CLOSE[60]

    PERINC60= (INCREASE60/CLOSE[60]) * 100

    INCREASE120=CLOSE-CLOSE[120]

    PERINC120=(INCREASE120/CLOSE[120]) *100

     

    // Check volume conditions

    VOLCOND1MIN=VOL1MIN>(AVGDAILYVOL*(1+VOLTHRESHOLD1MIN/100))

    VOLCOND5MIN=VOL5MIN> (AVGDAILYVOL*(1+VOLTHRESHOLD5MIN/100))

    VOLCOND10MIN=VOL10MIN>(AVGDAILYVOL* (1+ VOLTHRESHOLD10MIN/100))

    // Check price conditions

    PRICECOND30=PERINC30>PRICETHRESHOLD30

    PRICECOND60=PERINC60> PRICETHRESHOLD60

    PRICECOND120=PERINC120> PRICETHRESHOLD120

     

    SCREENER [(VOLCOND1MIN AND VOLCOND5MIN AND VOLCOND10MIN) AND (PRICECOND30 AND PRICECOND60 AND PRICECOND120)]

    #243673

    Hi, thank you for your inquiry.

    In this case, the ProRealCode forum is primarily focused on translating and developing code toward ProBuilder (the language of ProRealTime), not towards other languages like EasyLanguage. To stay aligned with the forum’s objectives, we do not offer translation services to external languages.

    If you are looking to adapt this logic, I also recommend exploring EasyLanguage-specific forums.

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login