Nachkauf von contracts

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #197397 quote
    khs42
    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
    robertogozzi
    Moderator
    Master

    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.

Nachkauf von contracts


Plattform-Support ProRealTime

New Reply
Author
author-avatar
khs42 @khs42 Participant
Summary

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

Topic Details
Forum: Plattform-Support ProRealTime
Language: German
Started: 07/17/2022
Status: Active
Attachments: No files
Logo Logo
Loading...