out of bollinger band

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38684 quote
    dreif123
    Participant
    Average

    hi, attached an dax bollinger oszilator strategy which shows no results, …, its on dax , mini, 1 minute chart

    i ve got bloomberg and i am doing the trades manually if the %bolloszilator is bigger than 1,35 the result is positive…

    just to clarify , the system should for example sellshort if the price of the index jumped out of the bollingerband, lets say >1.35

    bloomberg is calculating this above mentioned numer like this :close-lowerband [2]/upperband[2]-lowerband[2]

    thx for the support

    thats the code i have put in for automatic trading, no results are shown, whats wrong with the attached code

    DEFPARAM CumulateOrders = False
    defparam flatbefore=090000
    defparam flatafter=173000
    
    // Bedingungen zum Einstieg in Long-Positionen
    
    indicator2 = BollingerDown[2](close)
    indicator3=bollingerup[2](close)
    if (close-indicator2)/(indicator3-indicator2)>1.35 then
    
    sellshort 10 contracts at market
    
    // Stops und Targets
    SET STOP pLOSS 10
    set target pprofit 2
    endif
    #38689 quote
    AutoStrategist
    Participant
    Veteran

    Is it meant to be this?

    if close-(indicator2/(indicator3-indicator2))>1.35 then
    #38717 quote
    dreif123
    Participant
    Average

    thx for the support

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

out of bollinger band


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
dreif123 @dreif123 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by dreif123
9 years, 2 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 06/20/2017
Status: Active
Attachments: No files
Logo Logo
Loading...