DeMarker Arrows Forex Trading Strategy Forex MT4 Indicators

Trading Ideas For Next Week [Week 2] (Part 1)

Trading Ideas For Next Week [Week 2] (Part 1)
Due to popular demand I've decided to bring this series back for a week 2 and I'll continue to release 3-5 trading ideas every Saturday. How do you guys feel about the name of this series? Would you like me to change the name to something like "Setup Saturdays" or are you guys cool with the current naming scheme?
So this week I wanted to be a lot more in depth in my analysis and setups since I didn't think I was super clear last week with my reasoning on some the setups. I want these posts to be as beginner friendly as possible because there's a lot more beginners in this Subreddit than I had realized. I want you to use this as an educational tool and not as a signal service as a result I'm going to give you possible trade setups and I want you to be the judge of whether you should enter once/if price gets to that point since I feel like that will benefit beginners in the long run. I got a couple questions about top down time frame analysis so that'll be a focus of today's post. Scroll down to NZDJPY if you really want an in-depth look at how I perform top down time frame analysis.
I'll include a picture of a chart and my TradingView chart so if you want to zoom in and out of the chart you'll have that ability to do so.
Quick Disclaimer: Some of the charts pricing might be off by a bit since I started working on this during the New York session on Friday. If any of the charts are impacted in a way that alters the setup I'll be sure to update the charts before I post this on Saturday. Just gotta hope that hope that Powell doesn't break the market or else I might have to redo this entire post.
AUDUSD:

AUDUSD Daily
TradingView Link For Daily: https://www.tradingview.com/chart/AUDUSD/Wb5K2bS8-AUDUSD-Daily-For-Reddit-Post-6-20-U-AD3133/
Analysis: Which way is the trend pointing? It looks like it's pointing up which we can see with the green trend line but how about we zoom in to the 4 hour char to see if that's actually the case.
Tip: When drawing a trend line, especially on the daily and higher time frames, remember to hit as many wicks as possible since they are relevant and not just some anomaly you can ignore.

AUDUSD 4 Hour
TradingView Link For 4 Hour: https://www.tradingview.com/chart/AUDUSD/aah8294z-AUDUSD-4-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: When we got close to where we are with price and we draw a Fibonacci Retracement from the point where price took off to the point where price peaked we can see that price came down to .5 Fibonacci level where it then started going up again. Coincidence? Possibly. As a result I believe that price could continue higher and it would be justified if it did. However, if we look at the trend lines we can see that price appears to have broke put of of our major trend line (Green) which means that price could fall to the downside if it's actually a breakout. Price then appears like it would then adhere to the new minor trend line (Red). There's also the possibility that this was just a fake breakout and price could go up and adhere to green trend line. I'm going to have a selling bias on this trade since price looks like it double topped at the highs of this year and it looks like we could see price fall. I'm leaning towards the drop of price due to the symmetrical triangle pattern created by the major and minor trend line and looks like price is going to get pushed down which we should get an idea of soon.
Tip: Every time price makes a large move and falls/rises after making a peak/valley always pull out the Fibonacci retracement tool to see if price will bounce from the .382, .5, or .618 levels as they are the most significant levels. This can tell you if you're going to likely get a trend continuation.

AUDUSD 1 Hour
TradingView Link For 1 Hour: https://www.tradingview.com/chart/AUDUSD/IHgrnfYs-AUDUSD-1-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: I drew out multiple different scenarios which I think can play out since like I said before we're not trying to predict a single movement but we're preparing to be reactive to an ideal condition which may be thrown at us. Remember that major trend line we drew in on the daily chart well it's going to play a large role here. This trend line has been in the making since March so we're not just going to brush it off. The trend line appears to have been broken and we seem to be sticking that minor trend line after the break of the symmetrical triangle pattern. After the break of the symmetrical triangle pattern price usually gets pushed heavily to one side and it looks like price is wanting to get pushed to the downside. As a result, I'm going to really keep on eyes on scenario the blue arrows display since I think it's the most probable. Looking at the scenario there are going to be two potentially good entry points for a sell. The first being when price goes up to retest the green trend line which would also serve as a bounce from our red trend line. Once we get that bounce we could enter in for a sell with a take profit hopefully somewhere around the .66 area. Another good entry would be when price breaks the zone of support of .68 and after it retests it. Wait for a confirmation candlestick pattern showing price will fall when retesting (i.e. railroad track, bullish engulfment candle, evening star, shooting star, etc.). Look for these candlestick patterns on the 15 minute chart. Once you got the confirmation take the sell and ride price down to the .66 zone. The other scenario that could occur is we could see price go back into the green trend line by breaking the red trend line (Orange Arrows). If this occurs we want to catch the retest bounce of the red trend line and ride price up to the high of the year which is at .702. At that point price could break the resistance at which point we could catch the retest of the zone and ride price up. Or it could go up to .702 create a triple top and fall. If you get a candlestick confirmation saying it'll fall then take a sell at the high of the year.
NZDUSD:
If there's something I really like in Forex it's definitely got to be harmonic patterns due to their high accuracy. NZDUSD just recently completed one of them and this is a really good indicator of what price is going to do.

NZDUSD Daily
TradingView Chart For Daily: https://www.tradingview.com/chart/NZDUSD/zQpHzUcK-NZDUSD-Daily-For-Reddit-Post-6-20-U-AD3133/
Analysis: Yes, we have trend line that says that price is going up however I make exceptions for Harmonic patterns since they are accurate about 80%-90% of the time. The pattern you see above is know as a Bearish Bat Pattern. Like the name says it's an indicator that price is going to go Bearish so although the trend line is going up I'm going to have a bearish bias on this trade.

NZDUSD 4 Hour
TradingView Chart For 4 Hour: https://www.tradingview.com/chart/NZDUSD/C29kpCyO-NZDUSD-4-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: Not really much to add here just tossed on a Fibonacci retracement tool from where price took off to the peak just to check for any potential support from any of the major levels which we don't appear to have. We'll go a lot more in-depth on this pair on the 1 hour chart since that's where things get interesting.

NZDUSD 1 Hour
TradingView Link For 1 Hour: https://www.tradingview.com/chart/NZDUSD/dKJatcM7-NZDUSD-1-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: Looking at price we can see that since June 11th price has been trading in a boxed consolidation range. Again I drew out the possibilities I believe could be ideal for us. Remember that I said Harmonics work 80%-90%. Well that means that they fail 10%-20% of the time which is definitely not something we can neglect. We can see that there's a descending triangle which price is reaching the end of. This means that price is getting ready to move to one direction since big moves always come after consolidation. If it moves to upside wait for price to close above the the spot marked D then you can enter for a buy and ride price up to the .67525 zone where price could break to upside or bounce back down (Orange Arrow). Remember to wait for it to actually close above point D since it could create a triple top and drive price back down. It's the same procedure as AUDUSD here if it makes this move where if it breaks it then catch the retest and if it looks like it's wanting to fall down wait for a confirmation pattern. If it breaks the box to the downside and breaks the support zone then take a sell and ride price down to the trend line at which point you should close the trade as there's a chance price could move against you and it's best to secure profits while you can. Once at the trend line it could bounce and if it does you should be able to ride price up to that .67525 zone (Green Arrow). If price breaks the trend line then wait for the retest and you should be able to ride price down pretty far (Red Arrows). I think you should be able to ride it down to .5918 zone but you'll have to keep your on it.
EURNZD:

EURNZD Daily
TradingView Link For Daily: https://www.tradingview.com/chart/EURNZD/jzgmGcRe-EURNZD-Daily-For-Reddit-Post-6-20-U-AD3133/
Analysis: Well we got a pretty clear descending channel and price looks like it's at the top part of the channel currently so we're going to want to look for some optimal selling conditions due to the down trend.

EURNZD 4 Hour
TradingView Link For 4 Hour: https://www.tradingview.com/chart/EURNZD/YzOpvcH7-EURNZD-4-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: Looking at the 4 hour chart we can see that there appears to be a symmetrical triangle coming to it's end meaning price is getting ready to get pushed to a side. I believe it'll break the triangle and fall to the downside so once you see it break it would be a good idea to take a sell and ride price down to that support zone at 1.7187. Price could also briefly break to the upside then bounce off the top of the channel and it does take a trade from the bounce and ride price down to the same support zone. At that point, I'll leave it up to you to determine how you think price will go and what you should be looking for. Consider it to be a little quiz if you want to think of it like that. You've got my charts so use them as a reference since I've already marked some crucial support/resistance zones which we should keep our on for the next couple weeks.

EURNZD 1 Hour
TradingView Link For 1 Hour: https://www.tradingview.com/chart/EURNZD/ICWvgEsg-EURNZD-1-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: There's nothing that special on the one hour chart that I have to point out since I think we pretty much got all the big stuff out of the way on our analysis of the 4 hour chart. Be sure to get a good sell in there since there are two potentially good setups which I've outlined for you. Also be sure to be careful and wait for the bounce of the channel if price goes that way since there's a chance price could break the channel and I don't want you to take a loss because you were impatient.
NZDJPY:
This pair is going to be really fun since we're going to be looking through a lot of time frames so if you really want to learn about a top down approach to analyzing time frames and trends then pay very close attention to how I break down this trade.

NZDJPY Monthly
TradingView Link For Monthly: https://www.tradingview.com/chart/NZDJPY/jZh4F2Jv-NZDJPY-Monthly-For-Reddit-Post-6-20-U-AD3133/
Analysis: Yes, we're actually going to be looking at the monthly chart. I bet you guys don't do that very often. Looking at it we can see that price has been following a clear down trend line since late 2014. If you look at the wick of this month's candle you can see that it appears to have touched the trend line meaning we could see a good opportunity to catch a sell since it had just recently bounced off. Let's take a look at lower time frames to see if this continues to be true.

NZDJPY Weekly
TradingView Link For Weekly: https://www.tradingview.com/chart/NZDJPY/dpvI29BB-NZDJPY-Weekly-For-Reddit-Post-6-20-U-AD3133/
Analysis: When zooming into the weekly we can see that using the wicks of the candles we can actually draw a channel for the low portion that runs pretty much in parallel to the trend line we drew on the monthly chart. We can see that price clearly bounced from the trend line and I think this gives us good reason to believe in the coming weeks we could see the price drop. Also looking at the Bollinger Bands we can see that price also bounced from the top band which also supports a drop of price. Let's go into the daily to see if we can get a better idea.

NZDJPY Daily
TradingView Link For Daily: https://www.tradingview.com/chart/NZDJPY/NbWLURkU-NZDJPY-Daily-For-Reddit-Post-6-20-U-AD3133/
Analysis: Looking at the daily time frame we can see that price is currently consolidated and remember big moves always come after consolidation. If you look closely however you can see that price looks like it's about to break the 200 day EMA (Orange line). If it breaks the EMA we could see price drop pretty far at an accelerated rate. Besides those couple observations there's not much else going on with the daily chart.

NZDJPY 4 Hour
TradingView Link For 4 Hour: https://www.tradingview.com/chart/NZDJPY/d1kaogH5-NZDJPY-4-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: Would you look at that, it looks like we got a descending triangle on the 4 hour chart which looks like it's coming to an end. Looking at price it looks like it's wanting to push to the downside. Once you get a break below the lows of the day of June 11th I think it would be a safe bet to take a sell trade and ride it down for 66.825 for this week. If it breaks the 66.825 support zone then I'll definitely take a sell and try to ride price down to the bottom of the channel which we drew on the weekly chart. There's also the possibility that price could take support at any of these support zones and then head back up to test the top of the channel. At which point I'll be looking to get into a sell at the top of the channel but I won't ride price up to the channel since at this current point in time I feel like there's a large amount of risk in that.

NZDJPY 1 Hour
TradingView Link For 1 Hour: https://www.tradingview.com/chart/NZDJPY/83b47mFS-NZDJPY-1-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: Not much more to add here since I think by this point we got the entire story so I'm not going to say much more about the 1 hour chart since I think the analysis for the 4 hour chart also sums this up pretty well.
Well that was a lot of information to go through and I hope you found some value in this since it took me quite a few hours to put this together for you guys. Truth be told, I spent most of Friday working on this so I hope at least one person finds some value in which case I'll consider it a win.
So you guys tired of me yet or do you want me to continue this series for a week 3? It takes a lot of time and effort to put this together so I'll only do it if people want it or else I'll pretty much feel like I wasted my time. I might put together a little lesson on how to use the COT in order to catch some big reversal moves in the market since the COT pretty much tells you what the hedge funds are doing and you also want to trade with the hedge funds and institutions. It'll probably take a couple weeks since I'll have to compile some data together and wait for a setup before putting that out but I'll be working on it. Are there any other things you may want explained? Let me know and I'll try to find setups which contain the topic you may want more details on. I hope you have a great trading week!
submitted by AD3133 to Forex [link] [comments]

So you wanna trade Forex? - tips and tricks inside

Let me just sum some stuff up for you newbies out there. Ive been trading for years, last couple of years more seriously and i turned my strategies into algorithms and i am currently up to 18 algorithms thats trading for me 24/7. Ive learned alot, listened to hundreds of podcasts and read tons of books + research papers and heres some tips and tricks for any newbie out there.

  1. Strategy - How to... When people say "you need a trading strategy!!" Its because trading is very hard and emotional. You need to stick to your rules at all times. Dont panic and move your stop loss or target unless your rules tell you to. Now how do you make these rules? Well this is the part that takes alot of time. If your rules are very simple (for example: "Buy if Last candles low was the lowest low of the past 10 candles." Lets make this a rule. You can backtest it manually by looking at a chart and going back in time and check every candle. or you can code it using super simple software like prorealtime, MT4 ++ Alot of software is basicly "click and drag" and press a button and it gives you backtest from 10-20-30 years ago in 5 seconds. This is the absolute easiest way to backtest rules and systems. If your trading "pure price action" with your drawn lines and shit, the only way to truly backtest that kind of trading is going in a random forex pair to a random point in time, could be 1 year ago, 1 month ago, 5 years ago.. and then you just trade! Move chart 1 candle at a time, draw your lines and do some "actual trading" and look at your results after moving forward in the chart. If you do not test your strategy your just going in blind, which could be disaster.. Maybe someone told u "this is the correct way to trade" or "this strategy is 90% sure to win every trade!!!" If you think you can do trading without a strategy, then your most likely going to look back at an empty account and wonder why you moved that stop loss or why you didnt take profit etc.. and then your gonna give up. People on youtube, forums, interwebz are not going to give you/sell you a working strategy thats gonna make you rich. If they had a working strategy, they would not give it away/sell it to you.
  2. Money management - How to.... Gonna keep this one short. Risk a small % of your capital on each trade. Dont risk 10%, dont risk 20%. You are going to see loosing trades, your probably gonna see 5-10 loss in a row!! If your trading a 1000$ account and your risking 100$ on each trade (10%) and you loose 5 in a row, your down -50% and probably you cant even trade cus of margin req. Game over.. Now how does one get super rich, super fast, from risking 1-3% of your account on each trade?? Well heres the shocking message: YOU CANT GET RICH FAST FROM TRADING UNLESS YOUR WILLING TO GO ALL IN! You can of course go all in on each trade and if you get em all right, you might get 1000%, then you go all in 1 more time and loose it all... The whole point of trading is NOT going bust. Not loosing everything, cus if you loose it all its game over and no more trading for you.
  3. Find your own trading style.... Everyone is different. You can have an average holding period of 1 month or you could be looking at a 1 min chart and average holding time = 10 minutes. For some, less volatility helps them sleep at night. For others, more volatility gives them a rush and some people crave this. There is no "correct" timeframes, or holding periods, or how much to profit or how much to loose. We are all individuals with different taste in risk. Some dont like risk, others wanna go all in to get rich over night. The smart approach is somewhere in the middle. If you dont risk anything, your not gonna get anything. If you risk everything, your most likely going to loose everything. When people are talking about trading style, this is kinda what that means.
  4. There are mainly 2 ways to trade: Divergence and Convergence. Or in other words: Mean reversion or trend following. Lets talk about them both: Trend following is trying to find a trend and stay with the trend until its over. Mean reversion is the belief that price is too far away from the average XX of price, and sooner or later, price will have to return to its average/mean (hence the name: MEAN reversion). Trend following systems usually see a lower winrate (30-40% winrate with no money management is not uncommon to see when backtesting trend following systems.. You can add good money management to get the winrate % higher. Why is the % winrate so low? Well a market, whatever that market is, tend to get real choppy and nasty right after a huge trend. So your gonna see alot of choppy fake signals that might kill 5-6 trades in a row, until the next huge trend starts which is going to cover all the losses from the small losses before the trend took off. Then you gotta hold that trade until trade is done. How do you define "when trend starts and stops"? Well thats back to point 1, find a strategy. Try defining rules for an entry and exit and see how it goes when you backtest it. For mean reversion the win % is usually high, like 70-90% winrate, but the average winning trade is alot smaller than the average loosing trade. this happens because you are basicly trying to catch a falling knife, or catch a booming rocket. Usually when trading mean reversion, waiting for price to actually reverse can very often leave you with being "too late", so you kinda have to find "the bottom" or "the top" before it actually has bottomed/ topped out and reversed. How can you do this you ask? Well your never going to hit every top or every bottom, but you can find ways to find "the bottom-ish" or "the top-ish", thens ell as soon as price reverts back to the mean. Sometimes your gonna wish you held on to the trade for longer, but again, back to point 1: Backtest your rules and figure that shit out.

Read these 4 points and try to follow them and you are at least 4 steps closer to being a profitable trader. Some might disagree with me on some points but i think for the majority, people are going to agree that these 4 points are pretty much universal. Most traders have done or are doing these things every day, in every trade.
Here is some GREAT material to read: Kevin Davey has won trading championship multiple times and he has written multiple great books, from beginner to advanced level. Recommend these books 100%, for example: Building winning algorithmic trading systems" will give you alot to work with when it comes to all 4 of the above points. Market wizards, Reminiscences of a stock operator are 2 books that are a great read but wont give you much "trading knowledge" that you can directly use for your trading. Books on "The turtles" are great reading. Then you have podcasts and youtube. I would stay away from youtube as much as possible when it comes to "Heres how to use the rsi!!!" or "this strategy will make you rich!!". Most youtube videoes are made by people who wanna sell you a course or a book. Most of this is just pure bullshit. Youtube can very harmfull and i would honestly advice about going there for "strategy adivce" and such. Podcasts tho are amazing, i highly recommend: Better systems trader, Chat with traders, Top traders unplugged, We study billionairs, to name a few :)
Also, on a less funny note.. Please realize that you are, and i am, real fucking stupid and lazy compared to the actual pro's out there. This is why you should not go "all in" on some blind stupid strategy youve heard about. This is why this is indeed VERY FUCKING HARD and most, if not everyone has busted an account or two before realizing just this. Your dumb.. your not going to be super rich within 1 year.. You can not start with 500$ account and make millions! (some might have been able to do this, but know that for every winner, theres 999 loosers behind him that failed... Might work fine first 5 trades, then 1 fuckup tho and ur gone..
And lastly: Try using a backtesting software. Its often FREE!!! (on a demo account) and often so simple a baby could use it. If your trading lines and such there exists web broweser "games" and softwares that lets you go "1 and 1 candle ahead" in random forex pairs and that lets you trade as if its "real" as it goes.
A big backtesting trap however is backtesting "losely" by just drawing lines and looking at chart going "oh i would have taken this trade FOR SURE!! I would have made so much money!!" however this is not actually backtesting, its cherry picking and its biased beyond the grave, and its going to hurt you. Try going 1 candle at a time doing "real and live" trades and see how it goes.

Bonus point!!
many people misunderstands what indicators like the RSI is telling you. Indeed something is "overbought" or "oversold" but only compared to the last average of xx amounts of bars/candles.
It doesn't tell you that RIGHT NOW is a great time to sell or buy. It only tells you that the math formula that is RSI, gives you a number between 1-100, and when its above 70 its telling you that momentum is up compared to the last average 14 candles. This is not a complete buy/sell signal. Its more like a filter if anything. This is true for MOST indicators. They INDICATE stuff. Dont use them as pure buy/sell signals.. At least backtest that shit first! Your probably gonna be shocked at the shitty results if you "buy wehn rsi is undeer 30 and sell when RSI is above 70".

Editedit: Huge post already, why not copy paste my comment with an example showing the difference in trend following vs mean reversion:
The thing about trend following is that we never know when a trade starts and when it ends. So what often happens is that you have to buy every breakout going up, but not every breakout is a new trend. Lets do an example. Check out the photo i included here: https://imageshost.eu/image/image.RcC

THE PHOTO IS JUST AN EXAMPLE THAT SHOWS WHY A TYPICAL TREND FOLLOWING STRATEGY HAVE A "LOW" WINRATE.
THE PHOTO IS NOT SHOWING AN EXAMPLE OF MY STRATEGIES OR TRADING.

  1. We identify the big orange trend up.
  2. We see the big break down (marked with the vertical red line) this is telling us we are not going higher just yet. Our upwards trend is broken. However we might continue going up in a new trend, but when will that trend come?
  3. We can draw the blue trend very earyly using highs and lows, lines up and down. Then we begin to look for breakouts of the upper blue line. So every time price breaks upper blue line we have to buy (cus how else are we going to "catch the next trend going up?)
As you can see we get 5 false breakouts before the real breakout happens!
Now if you could tell fake breakouts from real breakouts, your gonna be rich hehe. For everyone else: Take every signal you can get, put a "tight" stop loss so in case its a fake signal you only loose a little bit. Then when breakout happens as you can clearly see in chart, your going to make back all the small losses.
So in this example we fail 5 times, but get 1 HUGE new trend going further up. This 1 huge trade, unless we fuck it up and take profits too early or shit like that, is going to win back all those small losses + more.
This is why trend following has a low winrate. You get 5 small loss and 1 big win.

Now lets flip this! Imagine if your trading Mean reversion on all the same red arrows! So every time price hits the blue line, we go short back to the bottom (or middle) again! You would have won 5 trades with small profits, but on that last one you would get stopped out so hard. Meaning 5 small wins, 1 big loss (as some have pointed out in comments, if you where trading mean reverting you would wanna buy the lows as well as short the tops - photo was suppose to show why trend following strategies have a lower % winrate.)

Final edit: sorry this looks like a wall of text on ur phones.
submitted by RipRepRop to Forex [link] [comments]

Auto-trading fun with Bollinger bands [Novice level].

Whilst we have a fair few 'novice' posts about TA and Global Macro (aka "Fundamentals"), there aren't too many involving auto-trading. Seeing as I'm in the middle of teaching myself MQL4, I thought I'd throw this out there as discussion prompter.
By "novice", I mean someone who has moved beyond complete beginner ("what's a FOMC and a NFP?") but still not deploying robust and market ready strategies ("how does market structure affect news event response?"), so constructive criticism, informed commentary or taking the ideas and developing them further are very much the point of sharing in the first place. It's not meant to be a showcase of code, because the code is a mess!
This post got me thinking about how relatively trivial it would be to implement a Bollinger Band mean reversion autotrader.
Project Goals
My interest in the project was as a way to begin development of a skeleton EA that would use a custom indicator to implement trade signals. The point of this would be to allow for faster prototyping of visually based autotrading before taking it to the testing environment. The key advantage of this is that you can see on your charts which entries are being missed, something that is much more laborious to do via visual mode in the strategy tester.
Concept Development
So to begin the project, I sketched out the concept.
One way to trade Bollinger Bands is to trade the reversion to the mean. Intuitively, we expect that wider deviations from the mean will result in more reliable reversions to the mean. To explore this we could enter when price breaches the second SD band and then returns back inside it.
Here's the default Bollinger Band on default settings in MT4, demonstrating this sort of behaviour:
http://i.imgur.com/dK2oDO7.png
Prototyping
I want to use the indicator, and not the EA, to generate trade signals, as this is the point of the project for me. Because I'm lazy and grew up coding in basements, I opt to fiddle with the default indicator code rather than build up from scratch.
My first goal is to add two things.
Firstly, I want to add another layer of bands, because I saw a set up like that a while ago and liked it. (This is not a very good reason, and I think it costs me down the track).
Secondly, I want to add in a way to visually indicate the trade signals before we pass them to the EA.
Adding another set of bands is just a copy and paste of the existing bands. My learning point here is that I need to adjust the amount of buffers to match the number of bands I want. This comes into play for adding the trade signal arrows, as they need to go in the same sort of structure as the second lot of bands.
[I know from reading about the project goals in advance that EAs access custom indicators via iCustom(). This function can only receive the contents of one of the first 8 indicator buffers. Thus the idea will be that the buffer that marks out the trade entries on the indicator will later be used by the EA to mark out where entries should be. It's possible this is not the best way for EAs to access custom indicators , so input from more experienced coders is welcome!]
#property indicator_chart_window #property indicator_buffers 8 // <---- have to set this to match your copy and pasted buffer amount #property indicator_color1 LightSeaGreen #property indicator_color2 LightSeaGreen #property indicator_color3 LightSeaGreen // hack in (make 'em colourful. Turns out I didn't understand how the numbering worked, and indictator_color4 is never visualised) #property indicator_color4 clrWhite #property indicator_color5 clrWhite #property indicator_color6 clrRed #property indicator_color7 clrGreen #property indicator_color8 clrRed //--- indicator parameters input int InpBandsPeriod=50; // Bands Period input int InpBandsShift=0; // Bands Shift input double InpBandsInnerDeviations=1.0; // Add in for our other Band input double InpBandsOuterDeviations=2.0; // Bands Deviations //--- buffers double ExtMovingBuffer[]; double ExtUpperBuffer[]; double ExtLowerBuffer[]; double ExtStdDevBuffer[]; // hack in buffers (these buffers will store our trade signals) double SellSignalBuffer[]; double BuySignalBuffer[]; // these buffers will hold the additional bands. apologies for the naming, I didn't originally intend to share this double ExtUpperUpperBuffer[]; double ExtLowerLowerBuffer[]; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int OnInit(void) { //--- 1 additional buffer used for counting. IndicatorBuffers(8); // don't forget to adjust this to account for the new buffers IndicatorDigits(Digits); //--- middle line SetIndexStyle(0,DRAW_LINE); SetIndexBuffer(0,ExtMovingBuffer); SetIndexShift(0,InpBandsShift); SetIndexLabel(0,"Bands SMA"); //--- upper band SetIndexStyle(1,DRAW_LINE); SetIndexBuffer(1,ExtUpperBuffer); SetIndexShift(1,InpBandsShift); SetIndexLabel(1,"Bands Upper"); //--- lower band SetIndexStyle(2,DRAW_LINE); SetIndexBuffer(2,ExtLowerBuffer); SetIndexShift(2,InpBandsShift); SetIndexLabel(2,"Bands Lower"); SetIndexBuffer(3,ExtStdDevBuffer); //--- Copy and paste from above, and just change the number! Upper outer band is INDEX 4 SetIndexStyle(4,DRAW_LINE); SetIndexBuffer(4,ExtUpperUpperBuffer); SetIndexShift(4,InpBandsShift); SetIndexLabel(4,"Bands Outer Upper"); //--- Copy& paste, lower outer band is INDEX 5 SetIndexStyle(5,DRAW_LINE); SetIndexBuffer(5,ExtLowerLowerBuffer); SetIndexShift(5,InpBandsShift); SetIndexLabel(5,"Bands Outer Lower"); //--- remind myself which is which so I don't forget later: sell signal is INDEX 6!!!! SetIndexStyle(6,DRAW_ARROW); SetIndexArrow(6,218); SetIndexBuffer(6,SellSignalBuffer); SetIndexShift(6,InpBandsShift); SetIndexLabel(6,"Sell Signal"); //--- buy signal is INDEX 7 !!! SetIndexStyle(7,DRAW_ARROW); SetIndexArrow(7,217); SetIndexBuffer(7,BuySignalBuffer); SetIndexShift(7,InpBandsShift); SetIndexLabel(7,"Buy Signal"); //--- check for input parameter if(InpBandsPeriod<=0) { Print("Wrong input parameter Bands Period=",InpBandsPeriod); return(INIT_FAILED); } //--- SetIndexDrawBegin(0,InpBandsPeriod+InpBandsShift); SetIndexDrawBegin(1,InpBandsPeriod+InpBandsShift); SetIndexDrawBegin(2,InpBandsPeriod+InpBandsShift); // hack in our additional buffers, so they also start at the corect point SetIndexDrawBegin(4,InpBandsPeriod+InpBandsShift); SetIndexDrawBegin(5,InpBandsPeriod+InpBandsShift); SetIndexDrawBegin(6,InpBandsPeriod+InpBandsShift); SetIndexDrawBegin(7,InpBandsPeriod+InpBandsShift); //--- initialization done return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Bollinger Bands | //+------------------------------------------------------------------+ // all of this code is from the default indicator int OnCalculate(const int rates_total, const int prev_calculated, const datetime &time[], const double &open[], const double &high[], const double &low[], const double &close[], const long &tick_volume[], const long &volume[], const int &spread[]) { int i,pos; //--- if(rates_total<=InpBandsPeriod || InpBandsPeriod<=0) { return(0); } //--- counting from 0 to rates_total ArraySetAsSeries(ExtMovingBuffer,false); ArraySetAsSeries(ExtUpperBuffer,false); ArraySetAsSeries(ExtLowerBuffer,false); ArraySetAsSeries(ExtStdDevBuffer,false); // hack in to make sure our custom buffers run in the same direction ArraySetAsSeries(SellSignalBuffer,false); ArraySetAsSeries(ExtUpperUpperBuffer,false); ArraySetAsSeries(ExtLowerLowerBuffer,false); ArraySetAsSeries(BuySignalBuffer,false); ArraySetAsSeries(close,false); ArraySetAsSeries(high,false); ArraySetAsSeries(low,false); //--- initial zero if(prev_calculated<1) { for(i=0; i1) pos=prev_calculated-1; else pos=0; //--- main cycle for(i=pos; i After a bit of tweaking typos, the indicator now displays two sets of bands, one at 1x SD and one at 2xSD from the mean (moving average). It also has two buffers that will use the DRAW_ARROW style to mark out potential trades.
Adding trade logic
I still can't decide if it's better to isolate the logic code in the Custom Indicator or the EA, in the long run. There seem to be performative, stylistic and redundancy issues, but for the moment the project is to put the logic in the Indicator, so that's what I did.
The fastest way to prototype this idea seems to be identifying when price closes outside of the far band.
This is trivial to achieve. We compare the close to the two outer bands, and if it's outside them, then we set the relevant trade signal buffer.
//
 double tempclose = close[i]; if(tempclose>(ExtUpperUpperBuffer[i]+10*Point)) { SellSignalBuffer[i] = high[i]+(20* Point); } else { SellSignalBuffer[i] = 0; } if(tempclose<(ExtLowerLowerBuffer[i]-10*Point)) { BuySignalBuffer[i] = low[i]-(20*Point); } else { BuySignalBuffer[i]=0; } } 
It works!
http://i.imgur.com/Ak3UkkK.png
Green arrows successfully mark out possible sell entries where price closes above the top band, and red arrows mark out possible buy entries when price closes below the lower band.
The logic can be a lot more complicated than this obviously, but the point of my project is to develop the iCustom technique, rather than make a good autotrader.
Now it's time to switch to the EA.
part two to follow
submitted by alotmorealots to Forex [link] [comments]

The Reversal Arrows Indicator on TradingView by Rob Booker ... Mt4 Alert & Arrow Indicator Free download. CCI Pointer - Forex Oversold and Overbought Indicator for Meta Trader MQL5 TUTORIAL - SIMPLE ARROW INDICATOR - YouTube Forex - The Most Powerful System On The Market (III Arrow ... RSI Pointer - Forex Oversold and Overbought Indicator for Meta Trader Best Trend Reversal Indicator - Trend Reversal Patterns Forex

Hello Forex Traders, I found this buy sell arrow indicator mt4 and some of you may be interested in it. This may be similar to the buy sell arrow scalper (well,almost looks the same, anyway).. Download link is on the last paragraph. What Does The Buy Sell Arrow Indicator Do? The Buy Sell Arrow Scalper Indicator is a trend following custom indicator. It indicates the trend by drawing a line that follows price action and changes color whenever it detects a change in trend. It paints a blue line whenever it detects a bullish trend and a red line when it detects a bearish trend. It also draws bars attached to the line to indicate trend. The bars are attached below it ... Forex arrow indicators draws arrows as trading signals. You should buy when you see an arrow pointing up and sell when you see an arrow pointing down. This kind of indicators are much liked by many traders becouse it is very easy to follow the signals. Check below popular arrows indicators and strategies. Forex Strategy Indicator. Forex MT4 Indicators admin-14 July 2020 0. Forex Strategy ... The signal is given by the arrow indicator HARPER. He draws a white arrow on the chart. The indicator does not redraw. The signal is issuedon the next candle after the arrow. We filter this candle.Look at the screen above. So, the arrow indicator HARPER worked, drew us a white down arrow on the previous candle (blue arrow 1 points to it). Advantages of Forex arrow trend indicators: Arrow indicators are combined indicators that are based on several tools. They are usually based on basic classical indicators such as МА, RSI, MACD, Bollinger bands, stochastic, etc. A trader does not need to put on Forex always draws different lines and adjusts each indicator independently. Arrow ... Need alerts added to this indicator please 11 replies. Please help: Arrow VSD SignalH1 indicator 0 replies. Need help with indicator on sound/arrow alert 3 replies. Need help with indicator to draw an arrow based on EMAs 4 replies. Please help! Arrow rsi 8 cross 55-45 indicator! 5 replies Buy Sell Arrow Scalper Indicator. The Buy Sell Arrow Scalper Indicator is a trend following custom indicator. It indicates the trend by drawing a line that follows price action and changes color whenever it detects a change in trend. It paints a blue line whenever it detects a bullish trend and a red line when it detects a bearish trend. It also draws bars attached to the line to indicate ... The indicator draws dynamic borders in which price moves and fluctuates. These borders create a channel and price tend to move from one band to other band. In other words, look for buy opportunities at lower band and look for sell opportunites at upper band. It is best used for swing trading. You can trade it on all currency pairs and timeframes. This forex indicator is dedicated for MT4 and ... Duty arrow is a simple trend following arrow for day trading and swing strategies. Draws on the chart buy and sell arrows. Features of Duty Arrow: Time Frame: 1 min, 5 min , 155 min, 30 min, 60 min, 240 min, Advantages of The Buy Sell Arrow Indicator. Does work really well in strong trending markets; Very easy to use: just follow the arrows that appear. Red arrow means sell, blue arrow means buy. Even a 5 year old child can trade forex just following the buy and sell signals generated by the arrows. Indicator works in all timeframes and currency pairs.

[index] [13494] [6745] [1849] [3564] [3142] [4611] [9308] [14091] [21145] [16674]

The Reversal Arrows Indicator on TradingView by Rob Booker ...

RSI Pointer is an indicator which simply draws arrows on chart window when value of RSI (from parameter RSI_Period) is below RSI_Level (green upward pointing arrow) or above 100-RSI_Level (red ... CCI Pointer is an indicator which simply draws arrows on chart window when value of CCI (from parameter CCI_Period) is above CCI_Level (red downward pointing arrow) or below negative CCI_Level ... What is the best trend reversal indicator and how to spot reversal patterns on forex? See how it is done and grab our free Direction Arrows indicator below. ... FYI - The Triple Arrow system has been updated. It is now called Simplicity and is more Powerful then before.. See links below and email me if you have quest... Get more information about IG US by visiting their website: https://www.ig.com/us/future-of-forex Get my trading strategies here: https://www.robbooker.com C... https://mql5tutorial.com/?s=INDICATOR With MQL5 for Metatrader5 we create an Arrow Indicator that is going to place arrows above and below the highest price ... 1. BOLLINGER BANDS Alert & Arrow Indicator for Mt4 2. MACD INDICATOR Alert and Arrow 3. Moving Average Cross Indicator With Arrow & Alert 4. PARABOLIC SAR Alert and Arrow 5. RSI Indicator Alert ...

http://binaryoptiontrade.ecpaberk.ml