Quote:
|
Originally Posted by rodrigokaus
I need a CCI EA on terms of the picture.
For example: start in 0 line:
when CCI cross +200, open sell
when CCI cross -200, open buy
*couse CCI is POSITIVE, only permit open SELL
*couse CCI is NEGATIVE, only permit open BUY
Money management system based in the Balance, for example = 10% of margin
Principal Functions:
- Stop Loss
- Close position too, for example: couse the trade open is in +200 (SELL), stop when the CCI cross -200, and open a reverse position.
- Magic Number
- Take Profit
- Trailling Stop
- Hours to start and finish EA
- Option to configure the CCI period and level cross
- Money Management (true or false) couse true, especify the % of free margin
- Alert when open trades
Thank´s for all
|
the way you waht it is dangerous as when cci is pos.(above 0) the market is moving up and visa-versa. When cci is above 200 or below -200 its trending hard. This would have to be used on 1 hr time and above. I make a living on buying above 0 and selling below 0 line. CCI is one of my main indacaters in my manual system. You can have it like this....when cci crosses back on the 200/-200 and targets 100/-100 then open order. But not on the initial cross above or below. And move s/l to b/e at 100 line because price can continue to trend well when above 100 or below -100.
Your chart is opening sell on the wrong side of the cross. Open on the cross back.
Just a suggestion.
here is the code for disable sell/buy but I don't have one for the entry as I am not a coder. This is taken from another EA I use. the 13 is CCI peroid. Change as needed. if price above 0 disable buy, if price is below 0 disable sell. I personaly don't use it set this way I have it opposite.
{
if (iCCI( NULL, 0, 13, PRICE_TYPICAL, 0) > 0)
DisableBuy = true;
if (iCCI( NULL, 0, 13, PRICE_TYPICAL, 0) < -0)
DisableSell = true;
return (0);
}