Trading without indicators

Viewing 9 posts - 361 through 369 (of 369 total)
  • Author
    Posts
  • #232858 quote
    shug
    Participant
    Junior

    The general idea was if i could calculate the miles traveled and retracement distance in points and convert them to miles  i could figure out the overall destination of the big bank moves so I could figure out the reversal points accurately and make a lot of points from it, It works to a certain extent but there re deviations I couldn’t figure out, probably to do with trades like myself and others orders

    #232921 quote
    UKCityGent
    Participant
    New

    Hi All

    London trader  looking for some general chat about naked trading

    Anyone active ?

    #239500 quote
    neelpatel9
    Participant
    New

    Hi everyone,

    Does anyone know how I could have a running total of the pips I’ve accumulated while scalping? I want to remove the PNL value and only show the total pips for the day. Maybe there is some indicator that someone has coded that does this?

    Kind regards,

    Neel

    #239526 quote
    neelpatel9
    Participant
    New

    Hi UKCityGent,

    Are you trading in a similar manner to what Shug described in the first post of this thread?

    Neel

    #239527 quote
    robertogozzi
    Moderator
    Master

    There you go, simply run it in Backtest:

    MyLongConditions  = close CROSSES OVER  average[20.0](close) AND Not LongOnMarket
    MyShortConditions = close CROSSES UNDER average[20.0](close) AND Not ShortOnMarket
    TPmultiplier      = 2.0
    IF MyLongConditions THEN
       BUY 1 CONTRACT AT MARKET
       SLprice = lowest[5](low)
       TPprice = close + ((close - SLprice) * TPmultiplier)
       SET STOP   PRICE SLprice
       SET TARGET PRICE TPprice
    ELSIF MyShortConditions THEN
       SELLSHORT 1 CONTRACT AT MARKET
       SLprice = highest[5](high)
       TPprice = close - ((SLprice - close) * TPmultiplier)
       SET STOP   PRICE SLprice
       SET TARGET PRICE TPprice
    ENDIF
    tempPIPS     = 0
    IF OnMarket THEN
       tempPIPS  = PositionPrice * PositionPerf / PipSize
    ENDIF
    StrategyPIPS = StrategyProfit / PipSize / PipValue
    TotalPIPS    = StrategyPIPS + tempPIPS
    //
    Graph tempPIPS       AS "current temp PIPS" coloured("Fuchsia")
    Graph StrategyPIPS   AS "accumulated PIPS"  coloured("Blue")
    Graph TotalPIPS      AS "total PIPS"        coloured("Green")
    GraphOnPrice TPprice AS "Target"            coloured("Blue")
    GraphOnPrice SLprice AS "Stop Loss"         coloured("Red")
    x-20.jpg x-20.jpg
    #239535 quote
    neelpatel9
    Participant
    New

    Wow, that was quick thanks Roberto. Can I use this as an indicator when I’m manually trading?

    #239548 quote
    robertogozzi
    Moderator
    Master

    Yes, but you need to keep the backtest open and updated trade after trade.

    #239638 quote
    neelpatel9
    Participant
    New

    Do I need the Premium version to do the backtest as I’m not seeing this option on my ProRealTime menu options?

    #239645 quote
    GraHal
    Participant
    Master

    No you don’t need the Premium version.

    Do a backtest and leave the backtest running as – from that point on – the code runs on Demo Live data.

    robertogozzi thanked this post
Viewing 9 posts - 361 through 369 (of 369 total)
  • You must be logged in to reply to this topic.

Trading without indicators


General Trading: Market Analysis & Manual Trading

New Reply
Author
author-avatar
shug @shug Participant
Summary

This topic contains 368 replies,
has 18 voices, and was last updated by GraHal
1 year, 3 months ago.

Topic Details
Forum: General Trading: Market Analysis & Manual Trading
Language: English
Started: 07/30/2020
Status: Active
Attachments: 87 files
Logo Logo
Loading...