The support forum is built with (1) General and FAQ forums for common trading queries received from aspiring and experienced traders, and (2) forums for course video topics. How to Trade Price Action and How to Trade Forex Price Action videos are consolidated into common forums.
Brooks Trading Course social media communities
Brooks Trading Course Learning Resources >>>
//ONLY USE THIS ON 5 MIN TIMEFRAME //BODY GAP H_1 := REFX(H, 1); L_1 := REFX(L, 1); H_2 := REFX(H, 2); L_2 := REFX(L, 2); DRAWSL(H < L_2 AND ISGAP = 1, (H + L_2) / 2, 0, 2, 0, COLOR089981), LINETHICK4; DRAWSL(L > H_2 AND ISGAP = 1, (L + H_2) / 2, 0, 2, 0, COLORF23645), LINETHICK4; //BAR COUNT N := DAYBARPOS; DRAWNUMBER(MOD(N, 3) = 0 AND ISBC = 1, L - MA(H - L,20) / 3, N, 0, COLORFF9800); //EMA E20 : IF(ISE20 = 1, EMA(C, 20), NULL), COLORFF9800, LINETHICK2; E60 : IF(ISE60 = 1, EMA(C,50), NULL), COLORFF9800, DOT; E240 : IF(ISE240 = 1, EMA(C,220), NULL), COLORFF9800 ,CIRCLEDOT;
//------------------------------------------------------------------------
// 简称:PAH
// 名称:PriceActionHelper
// 类别: 交易指令
// 类型: 用户应用
//------------------------------------------------------------------------
Params
//参数定义
Integer BarColor(2);
Bool BarCount_FromNight(True);
Integer BarCount_Interval(2);
Bool BodyGap_Display(True);
Integer Ema1_Length(20);
Integer Ema2_Length(50);
Integer Ema3_Length(220);
GlobalVars
//全局变量定义
Integer count(0);
Integer bar(0);
Vars
//局部变量定义
Begin
//策略执行区
// bk Color 21 25 36
If (BarColor == 1){
If (Open > Close){
ColorBar(Rgb(242, 54, 69));
}
If (Open < Close){
ColorBar(Rgb(8, 153, 129));
}
}Else If(BarColor == 2){
ColorBar(Rgb(128, 128, 128));
}
//Bar Count
Numeric i = EMA(High - Low, 169) / 2.618;
If (bar != CurrentBar){
If (BarCount_FromNight) {
If (Hour != 14 and Hour[1] == 14){
count = 0;
}
}Else{
If (Day != Day[1]){
count = 0;
}
}
count += 1;
bar = CurrentBar;
}
If (BarCount_Interval > 0){
If (count % BarCount_Interval == 0){
PlotText(Low - i, Text(count), 0, Rgb(245, 127, 23));
}
}
//Body Gap
If (BarStatus != 2 And BodyGap_Display){
If (Low > High[2]){
//Bull Body Gap
Integer Color = Rgb(8, 153, 129);
Numeric Price = (High[2] + Low) / 2;
PartLine("Bull", 0, Price, 2, Price, Color, 5);
}
If (High < Low[2]){
//Bear Body Gap
Integer Color = Rgb(242, 54, 69);
Numeric Price = (Low[2] + High) / 2;
PartLine("Bear", 0, Price, 2, Price, Color, 5);
}
}
//Ema
if (Ema1_Length != 0){
PlotNumeric("Ema5m", EMA(Close, Ema1_Length), Rgb(255, 152, 0));
}
if (Ema2_Length != 0){
PlotNumeric("Ema15m", EMA(Close, Ema2_Length), Rgb(128, 128, 0));
}
if (Ema3_Length != 0){
PlotNumeric("Ema1h", EMA(Close, Ema3_Length), Rgb(120, 123, 134));
}
End
Also, you can download files instead of Copy & Paste.
我想在富途牛牛中使用,请问下文化6的代码如果修改呢。
你好,我不了解富途牛牛的桌面端指标代码,而且富途牛牛不能交易中国期货,如果是交易美股/美期等,可以使用其他平台来查看价格,如 TradingView 等
赞!
Hi, I am learning PA as well. Thank you for your free code. I download Panlifang, but I am not sure how can install it on the plaform. Could you pleass indicate? Thank you!
Hi, I am learning PA as well. Thank you for your free code. I download Panlifang, but I am not sure how can install it on the plaform. Could you pleass indicate? Thank you!
多谢及时回复哈!不过Panlifang有点奇怪,每次必须要微信扫码登录,然后还要运行一堆合约才能打开,而且不知何故就经常被强制退出,感觉有点不太习惯。
再问一下,是不是只有TradingView member,才能看到那些数据?
多谢及时回复哈!不过Panlifang有点奇怪,每次必须要微信扫码登录,然后还要运行一堆合约才能打开,而且不知何故就经常被强制退出,感觉有点不太习惯。
再问一下,是不是只有TradingView member,才能看到那些数据?
你可以注册一个盘立方账号,然后用账号密码登陆,我从来没用微信登陆过。
根据 TradingView 的说法,中国的几个期货交易所要求只提供数据给付费用户,也就是说免费账户无法访问中国期货市场的数据,付费账户可以访问延迟 15 分钟的数据,购买实时数据包可以访问实时数据。
Recently, TradingView has started providing data from the ZCE, SHFE and CFFEX, and I also have developed a price action indicator for intraday trading.
You can search "price action daily" or click https://www.tradingview.com/script/I2RGTWKf/
你好,请教一下,文华里好像没有 ISGAP这个函数啊
你好,请教一下,文华里好像没有 ISGAP这个函数啊
你好,忘了说了,这个 ISGAP 不是函数,是指标的设置变量,你在指标变量里面添加一个 ISGAP 变量,如果值为 1 则显示 Gap, 0 不显示




