Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

buy and sell two EMAS for Amibroker (AFL)
mundo0007
almost 13 years ago
Amibroker (AFL)

Rating:
3 / 5 (Votes 8)
Tags:
trading system, amibroker

Buy when the bar the maximum current is above the last bar and EMA (17) is greater than EMA (34).
Sell ​​when the high is higher than 0.40% of the EMA (17)

Screenshots

Similar Indicators / Formulas

All in One
Submitted by Nahid about 14 years ago
Kase Peak Osc. V2 batu
Submitted by batu1453 over 10 years ago
Kase CD V2batu
Submitted by batu1453 over 10 years ago
Ichimoku
Submitted by prashantrdx over 10 years ago
Arvind' System
Submitted by akdabc over 14 years ago
Miftha remix for dse
Submitted by coolpace over 14 years ago

Indicator / Formula

Copy & Paste Friendly
Plot(EMA(C,6),"EMA6", colorGreen ); 
Plot(EMA(C,17),"EMA17", colorBlue ); 
Plot(EMA(C,34),"EMA34", colorRed );
Plot(C,"low", colorBrown);


Alvo = 0; 

Buy = High > Ref(H,-1) AND Low >= Ref(L,-1) AND Low >= EMA(C,17)AND EMA(C,17) >= EMA(C,34) AND EMA(C,6) >= EMA(C,17)AND((Low / EMA(C,17)-1)*100) <= 0.15 ;

Compra = IIf(Buy==True, Ref(H,-1)+0.01,0);

stop = IIf(Buy==True,Ref(L, -1)-0.02,0);

Alvo = Compra + ((Compra-stop)*2);

Sell = ((High / EMA(C,17)-1)*100) >= 0.40 OR IIf(Hour() > 17,True,False);

//Sell =  Low < Ref(L,-1) AND High > Ref(H,-1);

//Sell = Alvo >= High; // AND Hour() < 18;

//Sell = IIf(EMA(C,17) >= EMA(Ref(C,-2),17),False,True); // vende quando as medias moveis cai

Buy = ExRem( Buy, Sell );
Sell = ExRem( Sell, Buy );

dist = 2*ATR(10); 

for( i = 0; i < BarCount; i++ ) 
{ 
if( Buy[i] ) PlotText( "Compra:\n"+compra[i]+"\n Stop:\n" + stop[i]+"\n Alvo:\n" + Alvo[i], i, L[ i ]-dist[i], colorGreen ); 

if( Sell[i] ) PlotText( "Venda\n@" + C[ i ], i, H[ i ]+dist[i], colorRed, colorYellow ); 
} 


PlotShapes(Buy*shapeUpArrow,colorGreen,0,Low);
PlotShapes(Sell*shapeDownArrow,colorRed,0,High);

1 comments

1. kuzukapama

obrigado ( Mundooo7 ) Amigo , bonito formulas

Leave Comment

Please login here to leave a comment.

Back