MACD CCI Strategy

Strategies are published here.

Moderator: admin

Re: MACD CCI Strategy

Postby nicdu40 » Mon Nov 28, 2011 3:57 pm

yes it's what i say
just a change for me :

i change this
if core.crossesOver( Short["MACD"], MB , period)
and math.abs(Short["Histogram"][period-1] - Short["Histogram"][period]) > Trigger
by:

if core.crossesOver( Short["Histogram", zero , period)
and math.abs(Short["Histogram"][period-1] - Short["Histogram"][period]) > Trigger

or
if core.crossesOver( Short["MACD"], Short["signal"] , period)
and math.abs(Short["Histogram"][period-1] - Short["Histogram"][period]) > Trigger


can you help me once more, i would want this strategy whith "macd+ cci + RSI + BB like the RSI-MACD-BB strategy
but this cci macd strategy base please
thank you .
nicdu40
 
Posts: 10
Joined: Fri Nov 25, 2011 2:44 pm

Re: MACD CCI Strategy

Postby Apprentice » Mon Nov 28, 2011 6:11 pm

I need more info on second Strategy.
Entry And Exit Rules.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MACD CCI Strategy

Postby nicdu40 » Tue Nov 29, 2011 6:26 pm

ok :
macd/cci/rsi/bb startegy

CCIBS=CCI buy/sell level (level sell = -level buy)
RSIBS=CCI buy/sell level (level sell = -level buy)
CCICLOSE=CCI LEVEL close (~138)
MACDBS=MACD level buy/sell (level sell = -level buy)
Trigger=Trigger Level (~ 0.000158)
TriggerCLOSE= TriggerCLOSE ratio (~1.63)
BB_gapB= bb gap for long
BB_gapS= bb gab for short

buying condition:

if macd crossesover signal
and macd < - macdBS
and Histogram [period-1] - Histogram[period]) > Trigger
and rsi>RSIBS

selling condition:

if macd crossesunder signal
and macd > macdBS
and Histogram [period-1] - Histogram[period]) > Trigger
and rsi<-RSIBS
and bb
exit buy condition
if CCI crossesunder CCICLOSE
and Histogram [period-1] * TriggerCLOSE > Histogram [period]
and BB.TL[period]-BB.BL[period]>=BB_gapB*pipSize and source[period]>BB.AL[period]

exit sell condition
if CCI crossesover - CCICLOSE
and Histogram [period-1] * TriggerCLOSE > Histogram [period]
and BB.TL[period]-BB.BL[period]>=BB_gapS*pipSize and source[period]<BB.AL[period]

it is tests I will post the strategy optimized later
thank you
nicdu40
 
Posts: 10
Joined: Fri Nov 25, 2011 2:44 pm

Re: MACD CCI Strategy

Postby Apprentice » Thu Dec 01, 2011 9:47 am

Your request is added to the developmental cue.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: MACD CCI Strategy

Postby Avignon » Fri Jul 26, 2019 8:07 am

Hello,

Already there is a bug in the notification: either I have the dialog box alert or I have the email alert, but not both at the same time. And for the same parity.

Otherwise I would like the following improvements:

- dialog box alert in option
- add end of turn

A model: viewtopic.php?f=17&t=64970#p114057

Thank you.
Avignon
FXCodeBase: Graduate
 
Posts: 287
Joined: Mon Nov 17, 2014 3:54 am

Re: MACD CCI Strategy

Postby Apprentice » Sun Jul 28, 2019 7:31 am

Your request is added to the development list under Id Number 4812
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MACD CCI Strategy

Postby Apprentice » Mon Jul 29, 2019 3:19 pm

Try it now.
(Topmost/First post in the topic)
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MACD CCI Strategy

Postby Avignon » Mon Jul 29, 2019 6:09 pm

Really? I saw some added features but not the ones requested.
Avignon
FXCodeBase: Graduate
 
Posts: 287
Joined: Mon Nov 17, 2014 3:54 am

Previous

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 14 guests