This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_SECTION_BEGIN("My First Indicator"); //Iam going to build my first indicator | |
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) )); | |
SetChartOptions(0,chartShowArrows|chartShowDates); //Enable X-Axis (Date/Time Axis) | |
Plot(Close,"Candles",colorDefault,styleCandle); //Plot Candles | |
par1 = Param("Short EMA",20,2,100,1); | |
par2 = Param("Long EMA",50,2,100,1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Coded by Rajandran R | |
//Founder of Marketcalls and Co-Founder of Traderscafe | |
//Website : www.marketcalls.in | |
//Note : Code works only in 1min, 2min, 5min timeframe | |
//Amibroker Preferences -> Tools -> Intraday -> Select Start time of the Interval | |
_SECTION_BEGIN("How to Estimate the VWAP Settlement Close"); | |
SetChartOptions(0,chartShowArrows|chartShowDates); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_SECTION_BEGIN("Yesterdays VWAP Strategy"); | |
TargetPrice = Param("Target Points",30,1,500,1); | |
StopPrice = Param("Stop Points",20,1,500,1); | |
N = Param("Limit Trades",1,1,10,1); //Per Symbol Trade Limit | |
SetPositionSize(1*RoundLotSize,spsShares); // Bactest Calculation for No of Points | |
marketstarttime = 091500; | |
sigendtime = 144449; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Backtesting Only Code will not plot any signals | |
_SECTION_BEGIN("Simple RSI Momentum Long Only Strategy"); | |
SetTradeDelays(0,0,0,0); | |
//Trading Logic | |
Buy =Cross(RSI(),65); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//AlgoAction Bridge TEST | |
PlaceOrder = ParamTrigger("PlaceOrder","PRESS"); | |
PlaceMultiOrder = ParamTrigger("PlaceMultiOrder","PRESS"); | |
PlaceBOOrder = ParamTrigger("PlaceBOOrder","PRESS"); | |
PlaceMultiBOOrder = ParamTrigger("PlaceMultiBOOrder","PRESS"); | |
//Enter the User API Key | |
user_apikey = ParamStr("user_apikey",""); | |
//Enter the User API Secret Key |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Better Version of Open Range Breakout | |
//Coded By Rajandran R - www.marketcalls.in | |
//Created Date - 04 Dec 2018 | |
//Recommended Timeframe to Run this strategy : 1min or 5min charts | |
//Higher timeframe may or may not yield desired results | |
_SECTION_BEGIN("Open Range Breakout"); | |
SetBarsRequired(-2,-2); //Turn Quick AFL Off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Coded by Rajandran R | |
// Coded Date : 14-09-2018 | |
// Author - Maketcalls (www.marketcalls.in ) | |
// Co-Founder - Traderscafe (www.traderscafe.in) | |
_SECTION_BEGIN("PRBATR colored Candles"); | |
SetChartOptions(0,chartShowArrows|chartShowDates); | |
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) )); | |
periods = Param( "Periods", 20, 1, 200, 1 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Coded by Rajandran R | |
// Coded Date : 14-09-2018 | |
// Author - Maketcalls (www.marketcalls.in ) | |
// Co-Founder - Traderscafe (www.traderscafe.in) | |
_SECTION_BEGIN("Percent Rank Based ATR"); | |
periods = Param( "Periods", 20, 1, 200, 1 ); | |
PRBATR=PercentRank(LinearReg(ATR(periods),periods),periods); | |
color = IIf(PRBATR > Ref(PRBATR,-1) OR PRBATR == 100,colorBlue,colorRed); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Coded by Rajandran R | |
// Coded Date : 14-09-2018 | |
// Author - Maketcalls (www.marketcalls.in ) | |
// Co-Founder - Traderscafe (www.traderscafe.in) | |
//Supports Amibroker Version 6.17 or higher version | |
Version(6.17); | |
_SECTION_BEGIN("MoneyControl News"); |