Nachkauf von contracts

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

     

    es wird immer nur 1 contract gekauft !

    obwohl max. 5 contracts möglich wären

     

    if TradingDay=1 Then
    if time>start and time<142500 or time> 144500 and countofposition<5 then

    if close > hoch1 then
    buy 1 contract at market
    if countofposition=1 then
    buy 2 contract at market
    endif
    endif
    if time=142500 and countofposition >0 then
    sell 1 contract at market
    endif

    #197403 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Poste den richtigen Code, die Definition der Variable HOCH1 fehlt und mehrere ENDIFs fehlen. Denken Sie daran, dass jedes IF immer mit ENDIF abgeschlossen werden muss.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

From idea to ProBuilder code in seconds.

Your coding copilot for ProRealTime™. Ask in plain English — get clean, ready-to-paste indicators, screeners and systems.

Available in 7 languages
Try ProRealAI

Nachkauf von contracts


Plattform-Support: Charts, Daten & Broker

New Reply
Author
author-avatar
khs42 @khs42 Participant
Summary

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

Topic Details
Forum: Plattform-Support: Charts, Daten & Broker
Language: German
Started: 07/17/2022
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...