It looks like you're new here. If you want to get involved, click one of these buttons!
_SECTION_BEGIN("Bridge");
SetChartOptions(0,chartShowArrows|chartShowDates);
Plot( C, "Close", colorDefault ,styleCandle);
/*API Doc at https://howutrade.in/docs/kitenet/Bridge*/
/*Please go through API doc thoroughly AND pay special attention to remarks section*/
/*API doc will list out all the methods supported by the Bridge AND their parameters*/
/*Make Sure You Registered KiteNet.dll in the system else download from https://howutrade.in*/
/*Symbol Details*/
Exch = "NSE";
TrdSym = "AXISBANK";
Qty = 10; /*Number of Lots OR Shares*/
OrdType = "MARKET";
ProdType = "MIS";
Val = "DAY";
CTag = "LONGENTRY"; /*A Unique Tag to Identify this Order.*/
IsLive = True; /*True means Place Order in Live. default is True*/
StgyCode = "A1"; /*Two Characters String. Say A1 identifies Supertrend Strategy. A2 refers MA Strategy*/
/*Note
for Optional Parameters, You may leave Blank
OR Put 0 if it is a Number Parameter
Put StringEmpty if it is a String Parameter*/
/*Sample Trading System*/
Buy = Cross(MA(C,30),MA(C,15));
Sell = Cross(MA(C,15),MA(C,30));
Buy = ExRem(Buy,Sell);
Sell = ExRem(Sell,Buy);
PlotShapes(IIf(Buy, shapeHollowUpArrow, shapeNone),colorGreen, 0,L, Offset=-30);
PlotShapes(IIf(Sell, shapeHollowDownArrow, shapeNone),colorRed, 0,H, Offset=-30);
/*Bridge Code*/
if (LastValue(Buy))
{Bridge = CreateStaticObject("KiteNet.Bridge");
Bridge.PlaceRegularOrderBridge(Exch, TrdSym, "BUY", OrdType, Qty, ProdType, 0, 0, Val, CTag, 0, IsLive, StgyCode);}
if (LastValue(Sell))
{Bridge = CreateStaticObject("KiteNet.Bridge");
Bridge.PlaceRegularOrderBridge(Exch, TrdSym, "SELL", OrdType, Qty, ProdType, 0, 0, Val, CTag, 0, IsLive, StgyCode);}
_SECTION_END();
We are working on sample trading systems in Excel & AFL (around 5 each).
We will let you know once it is ready..
This samples will be a complete and full-fledged trading systems and developers can use those as start point.