interruzione trading automatico

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #189184 quote
    cimsalcimsal
    Participant
    Junior

    gentilmente come si puo interrompere un sistema automatico quando raggiungo un target di 100 punti o un loss di 100 punti  grazie

    #189193 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo:

    Punti = PositionPrice * PositionPerf / PipSize
    IF OnMarket THEN
       IF Punti >= 100 OR Punti <= -100 THEN
          SELL      AT MARKET
          EXITSHORT AT MARKET
       ENDIF
    ENDIF
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

interruzione trading automatico


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
cimsal @cimsal Participant
Summary

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

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 03/02/2022
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...