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
Is it meant to be this?
if close-(indicator2/(indicator3-indicator2))>1.35 then