This file contains 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
//TODO: | |
//1. Remember F, AO, AC and Zone Add Ons signals and hits | |
//2. Integrate squat bars with exit signals somehow. | |
//3. five magic bullets - for taking profit | |
//Alligator lines | |
//--------------- | |
//The Blue balance line is where the price would be on this time frame if there were no new incoming information, | |
//in other words, the market only moves when there is Chaos present. |
This file contains 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(""); | |
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 ) ) )); | |
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); | |
_SECTION_END(); | |
_SECTION_BEGIN("MA5-MA20 Crossover"); | |
Buy = Cross( MA( Close, 5 ), MA( Close, 20 ) ); | |
Sell = Cross( MA( Close, 20 ), MA( Close, 5 ) ); | |
PlotShapes(IIf(Sell==1, shapeDownArrow, shapeNone), colorRed, 0,High, Offset=-15); |
This file contains 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
//Gist with Username | |
https://gist.github.com/marketcalls/afb787eaccae0086b084 | |
//Gist without Username | |
https://gist.github.com/afb787eaccae0086b084 |
This file contains 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 : Date 16th Nov 2014 | |
//Website : www.marketcalls.in | |
//Copyright : Never Cared about it do whatever you want but dont forget to give relevant credits | |
_SECTION_BEGIN("PushBullet"); | |
EnableScript("VBScript"); | |
<% |
This file contains 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("RSI Crossover Alert"); | |
SetChartOptions(0,0,chartGrid30|chartGrid70); | |
periods = Param( "Periods", 15, 1, 200, 1 ); | |
RS= RSI( periods); | |
Plot( RS, _DEFAULT_NAME(), colorred, ParamStyle("Style") ); | |
Plot (30, "Oversold", colorGreen,stylethick); | |
Plot (70, "Overbought", colorRed,stylethick); | |
buy = Cross(30,RS); |
This file contains 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("Plot Vertical Lines"); | |
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 ) ) )); | |
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); | |
StartTime = 092959; | |
segments = Cross(TimeNum(),StartTime) ; | |
Plot(segments, "", colorLightGrey, styleHistogram | styleOwnScale ); | |
_SECTION_END(); |
This file contains 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
ibuy = Flip(Buy,Sell); | |
isell= Flip(Sell,Buy); | |
Plot(ibuy, "", ColorBlend( colorPaleGreen, colorBlack ), styleGradient | styleHistogram | styleOwnScale ); | |
Plot(isell, "", ColorBlend( colorred, colorBlack ), styleGradient | styleHistogram | styleOwnScale ); |
This file contains 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
shootingstar = (((H-L)>4*(O-C)) AND ((H-C)/(.001+H-L)>= 0.75) AND ((H-O)/(.001+H-L)>= 0.75)); | |
neardoji = (abs(O-C)<= ((H-L)*0.1)); | |
pattern = WriteIf(shootingstar,"Shooting Star",WriteIf(neardoji ,"Near Doji","N/A")); | |
for ( i = 1; i <= 30; i++ ) // 1minute to 30minute | |
{ | |
TimeFrameSet( i * in1Minute ); | |
AddColumn(c,"Ïnterval",1,colorWhite,colorGreen); |
This file contains 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
using System; | |
using AmiBroker; | |
using AmiBroker.PlugIn; | |
using AmiBroker.Utils; | |
namespace SimplePlugin | |
{ | |
public class Class1 : IndicatorBase | |
{ | |
[ABMethod] |
OlderNewer