EasyLanguage Price Action PaintBar Study - EasyLanguage Programming | futures io social day trading
futures io futures trading


EasyLanguage Price Action PaintBar Study
Updated: Views / Replies:4,324 / 5
Created: by Big Mike Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

EasyLanguage Price Action PaintBar Study

  #1 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,352 given, 83,234 received

EasyLanguage Price Action PaintBar Study

I thought I would start working on a basic Price Action indicator for MultiCharts.

Here is a quick version I have so far. It colors HH + HL, LH + LL, and Bearish/Bullish Engulfing.

Please make enhancements...

 
Code
                            
// Big Mike Trading https://futures.io

// 17 April 2010

vars:
    
color(GetPlotColor(5));
    
color GetPlotColor(5);

if 
H[1] and L[1then color GetPlotColor(6);
if 
H[1] and L[1then color GetPlotColor(7);
if 
<= H[1] and >= L[1then color GetPlotColor(8);

if 
H[1] and L[1] and C[1then color GetPlotColor(9);
if 
H[1] and L[1] and C[1then color GetPlotColor(10);

PlotPaintBar(HLOC"PriceAction"color);



Plot5(C"Neutral");
Plot6(C"HH+HL");
Plot7(C"LH+LL");
Plot8(C"IB");
Plot9(C"BullEng");
Plot10(C"BearEng");

NoPlot(5);
NoPlot(6);
NoPlot(7);
NoPlot(8);
NoPlot(9);
NoPlot(10); 
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following 4 users say Thank You to Big Mike for this post:
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Madison, WI
 
Futures Experience: Advanced
Platform: Sierra Charts, ALT
Favorite Futures: ES
 
aslan's Avatar
 
Posts: 614 since Jan 2010
Thanks: 342 given, 1,077 received


One little tweak: put the plots in a block that does not execute, then you don't need the noplots, and none of the statements ever execute, but you still get the plots in the configuration. Using CurrentBar = 0 is sneaky, but works.

 
Code
if CurrentBar = 0 then begin
    // only here to set colors in the config
    Plot5(C, "Neutral"); 
    Plot6(C, "HH+HL"); 
    Plot7(C, "LH+LL"); 
    Plot8(C, "IB"); 
    Plot9(C, "BullEng"); 
    Plot10(C, "BearEng"); 
end;

Reply With Quote
The following user says Thank You to aslan for this post:
 
  #4 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,352 given, 83,234 received


aslan View Post
One little tweak: put the plots in a block that does not execute, then you don't need the noplots, and none of the statements ever execute, but you still get the plots in the configuration. Using CurrentBar = 0 is sneaky, but works.

 
Code
if CurrentBar = 0 then begin
    // only here to set colors in the config
    Plot5(C, "Neutral"); 
    Plot6(C, "HH+HL"); 
    Plot7(C, "LH+LL"); 
    Plot8(C, "IB"); 
    Plot9(C, "BullEng"); 
    Plot10(C, "BearEng"); 
end;

Good idea. Can also prefix it with once I believe.

Thx,
Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #5 (permalink)
Elite Member
Madison, WI
 
Futures Experience: Advanced
Platform: Sierra Charts, ALT
Favorite Futures: ES
 
aslan's Avatar
 
Posts: 614 since Jan 2010
Thanks: 342 given, 1,077 received

Yes, once would work, except then you need the noplots since the plots will execute once.

Reply With Quote
 
  #6 (permalink)
Elite Member
3rd Rock
 
Futures Experience: Intermediate
Platform: Other
 
Bacon's Avatar
 
Posts: 203 since Mar 2010
Thanks: 272 given, 1,319 received

@Mike,

Good idea for an indicator.

Not sure what level of detail you're aiming for, but here are a few ideas....

 
Code
if O = C then color = GetPlotColor(11);
if H[3] < H[2] and L[3] < L[2] and H[1] < H[2] and L[1] < L[2] and C < C[1] then color = GetPlotColor(12);
if H[3] > H[2] and L[3] > L[2] and H[1] > H[2] and L[1] > L[2] and C > C[1] then color = GetPlotColor(13);
if H[1] <= H[2] and L[1] >= L[2] and C > H[2] then color = GetPlotColor(14);
if H[1] <= H[2] and L[1] >= L[2] and C < L[2] then color = GetPlotColor(15);
 
Plot11(C, "Doji");
Plot12(C, "RevShort");
Plot13(C, "RevLong");
Plot14(C, "IB-BreakLong");
Plot15(C, "IB-BreakShort");
Plots 12 thru 15 assume trade-plans that require the signal bar to close before becoming a valid trigger (painted).

These do not allow for trade-plans that only require the trigger be broken at anytime during the formation of the current bar. Will the code allow the painting of the current bar, based on breaking a trigger point, prior to the bar closing?

Something similar could be done for the break of the low of a Bearish Engulfing or of the high of a Bullish Engulfing.

If you aren't interested in painting trigger bars, then for the reversal pattern you could just paint the third bar of the three bar pattern....

 
Code
if H[2] < H[1] and L[2] < L[1] and H < H[1] and L < L[1] then color = GetPlotColor(12);
if H[2] > H[1] and L[2] > L[1] and H > H[1] and L > L[1] then color = GetPlotColor(13);
Just random thoughts...

Bacon

Reply With Quote
The following 3 users say Thank You to Bacon for this post:

Reply



futures io > > > > > EasyLanguage Price Action PaintBar Study

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading Price Action GarryM Traders Hideout 69 April 22nd, 2011 01:29 PM
Predicting Price Action trendisyourfriend The Elite Circle 8 December 22nd, 2010 06:03 PM
need paintbar study coded-PLEASE bobbyacim The Elite Circle 3 July 28th, 2010 03:35 PM
Trading Price Action cbratton The Elite Circle 14 November 17th, 2009 04:07 AM


All times are GMT -4. The time now is 10:44 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-14 in 0.11 seconds with 19 queries on phoenix via your IP 54.90.207.75