Sie sind auf Seite 1von 3

03/04

Daily Volatility: 1.7712


Annual Volatility: 33.839
Sell at 4113
Target 1 : 4079.58 Target 2 : 4061.37 Target 3 : 4043.16 Target 4 :
4006.75 Target 5 : 3988.54
Stoploss : 4116
---
Buy 4148.9373
Stop Loss 4075.0627
Target-1 4185.8747
Target-2 4205.3776
Target-3 4222.812
Target-4 4240.2464
Expected maximum price range 4259.75 and expected minimum price range 3964 as per
volatility
Sell Entry Table
Sell 4075.0627
Stop Loss 4148.9373
Target-1 4038.1253
Target-2 4018.6224
Target-3 4001.188
Target-4 3983.7536
============

TimeFrameSet(in5Minute);
Buy = Cross(EMA( Close , 8 ) , EMA( Close , 34 )) ;
Sell = Cross(EMA( Close , 34 ) , EMA( Close , 8)) ;
AlertIf( Buy, "SOUND C:\\Windows\\Media\\Mamoi.wav", "Audio alert", 1 );
AlertIf( Sell, "SOUND C:\\Windows\\Media\\Mamoi.wav", "Audio alert", 2 );

AlertIf( Buy, "", "BUY @ " + C, 1 );


AlertIf( Sell, "", "SELL @ " + C, 2 );
//AlertIf( Buy, "", "BUY @ " + O, 1 );
//AlertIf( Sell, "", "SELL @ " + O, 2 );
if (SelectedValue(Buy)==1) Say("BUY Signal at"+ C);
if (SelectedValue(Sell)==1) Say("Sell Signal at" + C);

AlertIf( Buy, "", "BUY @ " + O, 1 );


AlertIf( Sell, "", "SELL @ " + O, 2 );
if (SelectedValue(Buy)==1) Say("BUY Signal at" + O, 1);
if (SelectedValue(Sell)==1) Say("Sell Signal at" + O, 2);

_SECTION_BEGIN("Stoploss");
no=20;
res=HHV(H,no);
sup=LLV(L,no);
avd=IIf(C>Ref(res,-1),1,IIf(C<Ref(sup,-1),-1,0));
avn=ValueWhen(avd!=0,avd,1);
supres=IIf(avn==1,sup,res);
color=IIf(avn==1,colorPaleGreen,colorOrange);
Plot(supres,"Stoploss",color,styleStaircase|styleThick|styleNoTitle);
_SECTION_END();

sig = "BUY";

tar1 = entry + (entry * .0050);


tar2 = entry + (entry * .0090);
tar3 = entry + (entry * .0180);
===

sig = "SELL";

tar1 = entry - (entry * .0050);


tar2 = entry - (entry * .0112);
tar3 = entry - (entry * .0212);
===============================

sig = "BUY";

tar1 = entry + (entry * .00354);


tar2 = entry + (entry * .0092);
tar3 = entry + (entry * .0179);

sig = "SELL";

tar1 = entry - (entry * .00354);


tar2 = entry - (entry * .0092);
tar3 = entry - (entry * .0179);

_SECTION_BEGIN("Stoploss");
no=20;
res=HHV(H,no);
sup=LLV(L,no);
avd=IIf(C>Ref(res,-1),1,IIf(C<Ref(sup,-1),-1,0));
avn=ValueWhen(avd!=0,avd,1);
supres=IIf(avn==1,sup,res);

color=IIf(avn==1,colorPaleGreen,colorOrange);
Plot(supres,"Stoploss",color,styleStaircase|styleThick|styleNoTitle);
_SECTION_END();

======
_SECTION_BEGIN("RoboTrade Plugin");
Execute_RoboTrade("AmiTS");
===========
r1=AmiTradingSA();
=======
tar1 = entry + (entry * .0050);
tar2 = entry + (entry * .0092);
tar3 = entry + (entry * .0179);
bars = i;
i = 0;
}
if(Sell[i] == 1)
{
sig = "SELL";
entry = C[i];
sl = TrendSL[i];
tar1 = entry - (entry * .0050);
tar2 = entry - (entry * .0112);
tar3 = entry - (entry * .0212);

========
Hello All,
I am using BuySell Nifty Trading system since last 6 months. I have a problem.
Earlier I used to get a Sound Alert when a buy or sell signal candle gets activated
and the sound used to beep for entire duration of the Signal activation candle.
i.e. on a 5 minute chart when buy signal gets triggered, I used to get sound beep
for entire 5 minute duration. Now since last one month I am getting Sound Alert
only once when the buy signal gets activated. Can anyone help me where is the
problem, if someone can let me know the AFL code is correct to give sound for
entire duration of signal.
AlertIf(Sell,"SOUND C:\\Windows\\Media\\Ding.wav","Sell@" + WriteVal( H,1.2) ,2);
AlertIf(Buy,"SOUND C:\\Windows\\Media\\Ding.wav","Buy@" + WriteVal( O,1.2),1);
Awaiting response
thanks
Tarmac
=========
Buy = Cross( MACD(), Signal() );
Sell = Cross( Signal(), MACD() );
Short = Sell;
Cover = Buy;
AlertIF( Buy, "EMAIL", "A sample alert on "+FullName(), 1 );
AlertIF( Sell, "SOUND C:\\Windows\\Media\\Ding.wav", "Audio alert", 2 );
AlertIF( Short, "EXEC Calc.exe", "Launching external application", 3 );
AlertIF( Cover, "", "Simple text alert", 4 );

search alertif function in help file


========
Buy = Cross( MACD(), Signal() );
Sell = Cross( Signal(), MACD() );
Short = Sell;
Cover = Buy;
AlertIF( Ref(Buy,-1), "EMAIL", "A sample alert on "+FullName(), 1 );
AlertIF( Sell, "SOUND C:\\Windows\\Media\\Ding.wav", "Audio alert", 2 );
AlertIF( Short, "EXEC Calc.exe", "Launching external application", 3 );
AlertIF( Cover, "", "Simple text alert", 4 );

But the alert is triggered at next bars open, not exactly at bar complete.

regards
=========

Das könnte Ihnen auch gefallen