strategia bar up down

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #202772 quote
    manugugnamanugugna
    Participant
    New

    Ciao a tutti, qualcuno riuscirebbe a codificare il codice di questa strategia molto semplice da tradingview a prorealtime?

    //@version=4
    strategy(“Strategia BarUpDn”, overlay=true, default_qty_type = strategy.percent_of_equity, default_qty_value = 10)
    maxIdLossPcnt = input(1, “Max Intraday Loss(%)”, type=input.float)
    . risk.max_intraday_loss(maxIdLossPcnt, strategy.percent_of_equity)
    if (close > open and open > close[1])
    strategy.entry(“BarUp”, strategy.long)
    if (close < open and open < close[1])
    strategia. entry(“BarDn”, strategy.short)
    //plot(strategy.equity, title=”equity”, color=color.red, linewidth=2, style=plot.style_areabr)

    Grazie a tutti

    #209833 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Hai un link a quel codice originale?

Viewing 2 posts - 1 through 2 (of 2 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

strategia bar up down


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
manugugna @manugugna Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
3 years, 7 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 10/18/2022
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...