Controllo equity

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

    Buongiorno, vorrei creare un blocco del ts perdente  , utilizzando per esempio una una banda di bollinger sul  lato basso della equity del conto e non solo di quel sistema . grazie a tutti

    #93627 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Puoi fare un esempio concreto e magari allegare delle foto, cosa significa applicare la Bande di Bollinger sul lato basso della equity del conto?

    #93691 quote
    AlessioAlessio
    Participant
    Senior

    ho allegato un immagine con le bande di bollinger (200,2)  sulla equity del backtest , vorrei stoppare il sistema quando la equity si abbassa troppo, come si vede nella prima parte del backtest , ti ringrazio

    equity-control.png equity-control.png
    #93695 quote
    AlessioAlessio
    Participant
    Senior
    #93699 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Puoi definire le BB così (non l’ho provato):

    BBVal  = 20                                               //20   periodi BB
    BBdev  = 2.0                                              //2.0  deviazione BB
    BBavg  = average[BBval,0](strategyprofit)                 //BB mean (middle line)
    //BollUp = BBavg + ((std[BBval](strategyprofit)) * BBdev) //BB Upper Band
    BollDn = BBavg - ((std[BBval](strategyprofit)) * BBdev)   //BB Lower Band

    Dopodiché nella strategia puoi verificare quando STRATEGYPROFIT tocca il limite basso (il limite alto l’ho commentato perché non lo usi):

    IF StrategyProfit <= BollDn THEN
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

Controllo equity


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Alessio @alessio Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by robertogozzirobertogozzi
7 years, 6 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 03/14/2019
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...