Identify Key Forex Chart Levels (And How to Trade Them ...

My First Year of Trading

So here it is, three more days and October begins, which marks one year of trading for me. I figured I would contribute to the forum and share some of my experience, a little about me, and what I've learned so far. Whoever wants to listen, that's great. This might get long so buckle up..
Three years ago, I was visiting Toronto. I don't get out much, but my roommate at the time travels there occasionally. He asked everyone at our place if we wanted to come along for a weekend. My roommate has an uncle that lives there and we didn't have to worry about a hotel because his uncle owns a small house that's unlived in which we could stay at. I was the only one to go with. Anyways, we walk around the city, seeing the sights and whatnot.
My friend says to me "where next?"
"I don't know, you're the tour guide"
"We can go check out Bay Street"
"what's 'Bay Street?'"
"It's like the Canadian Wall street! If you haven't seen it you gotta see it!"
Walking along Bay, I admire all the nice buildings and architecture, everything seems larger than life to me. I love things like that. The huge granite facades with intricate designs and towering pillars to make you think, How the fuck did they make that? My attention pivots to a man walking on the sidewalk opposite us. His gait stood out among everyone, he walked with such a purpose.. He laughed into the cell phone to his ear. In the elbow-shoving city environment, he moved with a stride that exuded a power which not only commanded respect, but assumed it. I bet HE can get a text back, hell he's probably got girls waiting on him. This dude was dressed to kill, a navy suit that you could just tell from across the street was way out of my budget, it was a nice fucking suit. I want that. His life, across the street, seemed a world a way from my own. I've worn a suit maybe twice in my life. For my first communion, it was too big for me, I was eleven or whatever so who gives a shit, right? I'm positive I looked ridiculous. The other time? I can't remember.
I want that. I want the suit. I want the wealth, the independence. I want the respect and power, and I don't give a shit what anyone thinks about it.
Cue self doubt.
Well, He's probably some rich banker's son. That's a world you're born into. I don't know shit about it. \sigh* keep walking..*

A year later, I'm visiting my parents at their house, they live an hour away from my place. My dad is back from Tennessee, his engineering job was laying people off and he got canned... Or he saw the end was near and just left... I don't know, hard to pay attention to the guy honestly because he kind of just drones on and on. ("Wait, so your mom lives in Michigan, but your dad moved to Tennessee... for a job?" Yea man, I don't fucking know, not going to touch on that one.) The whole project was a shit show that was doomed to never get done, the way he tells it. And he's obviously jaded from multiple similar experiences at other life-sucking engineer jobs. My mom is a retired nurse practitioner who no longer works because of her illness. I ask him what he's doing for work now and he tells me he trades stocks from home. I didn't even know you could do that. I didn't know "trading" was a thing. I thought you just invest and hope for the best.
"Oh that's cool, how much money do you need to do that?"
"Ehh, most say you need at least $25,000 as a minimum"
"Oh... guess I can't do that..."
Six months later, I get a call and it's my dad. We talk a little about whatever. Off topic, he starts asking if I'm happy doing what I'm doing (I was a painter, commercial and residential) I tell him yes but it's kind of a pain in the ass and I don't see it as a long term thing. Then he gets around to asking if I'd like to come work with him. He basically pitches it to me. I'm not one to be sold on something, I'm always skeptical. So I ask all the questions that any rational person would ask and he just swats them away with reassuring phrases. He was real confident about it. But basically he says for this to work, I have to quit my job and move back home so he can teach me how to trade and be by my side so I don't do anything stupid. "My Name , you can make so much money." I say that I can't raise the $25,000 because I'm not far above just living paycheck to paycheck. "I can help you out with that." Wow, okay, well... let me think about it.
My "maybe" very soon turned into a "definitely." So over the next six months, I continue to work my day job painting, and I try to save up what I could for the transition (it wasn't a whole lot, I sucked at saving. I was great at spending though!). My dad gives me a book on day trading (which I will mention later) and I teach myself what I can about the stock market using Investopedia. Also in the meantime, my dad sends me encouraging emails. He tells me to think of an annual income I would like to make as a trader, and used "more than $100,000 but less than a million" as a guideline. He tells me about stocks that he traded that day or just ones that moved and describes the basic price action and the prices to buy and sell at. Basically saying "if you bought X amount of shares here and sold it at X price here, you could make a quick 500 bucks!" I then use a trading sim to trade those symbols and try to emulate what he says. Piece of cake. ;)
Wow, that's way more than what I make in a day.
He tells me not to tell anyone about my trading because most people just think it's gambling. "Don't tell your Mom either." He says most people who try this fail because they don't know how to stop out and take a loss. He talks about how every day he was in a popular chatroom, some noob would say something like, "Hey guys, I bought at X price (high of day or thereabout), my account is down 80% .. uhh I'm waiting for it to come back to my entry price.. what do I do??"
Well shit, I'm not that fucking dumb. If that's all it takes to make it is to buy low, sell high, and always respect a stop then I'll be fantastic.
By the end of September, I was very determined. I had been looking forward everyday to quitting my painting job because while it used to be something I loved, it was just sucking the life out of me at this point. Especially working commercial, you just get worked like a dog. I wasn't living up to my potential with that job and I felt awful for it every minute of every day. I knew that I needed a job where I could use my brain instead of slaving my body to fulfill someone else's dream. "Someone's gotta put gas in the boss's boat" That's a line my buddy once said that he probably doesn't know sticks with me to this day.
It ain't me.
So now it was October 2018, and I'm back living with Mom n' Pops. I was so determined that on my last day of work I gave away all of my painting tools to my buddy like, "here, I don't need this shit." Moving out of my rental was easy because I don't own much, 'can't take it with ya.' Excited for the future I now spend my days bundled up in winter wear in the cold air of our hoarder-like basement with a space heater at my feet. My laptop connected to a TV monitor, I'm looking at stocks next to my dad and his screens in his cluttered corner. Our Trading Dungeon. I don't trade any money, (I wasn't aware of any real-time sim programs) I just watch and learn from my dad. Now you've got to keep in mind, and look at a chart of the S&P, this is right at the beginning of Oct '18, I came in right at the market top. Right at the start of the shit-show. For the next three or four weeks, I watch my dad pretty much scratch on every trade, taking small loss after small loss, and cursing under his breath at the screen.
Click.
"dammit."
Click.
"shit."
Click. Click.
"you fuck."
Click.
This gets really fucking annoying as time goes on, for weeks, and I get this attitude like ugh, just let me do it. I'll make us some fucking money. So I convince him to let me start trading live. I didn't know anything about brokers so I set up an account using his broker, which was Fidelity. It was a pain and I had to jump through a lot of hoops to be able to day trade with this broker. I actually had to make a joint account with my dad as I couldn't get approved for margin because my credit score is shit (never owned a credit card) and my net worth, not much. Anyways, they straight up discourage day trading and I get all kinds of warning messages with big red letters that made me shit myself like oooaaahhh what the fuck did I do now. Did I forget to close a position?? Did I fat finger an order? Am I now in debt for thousands of dollars to Fidelity?? They're going to come after me like they came after Madoff. Even after you are approved for PDT you still get these warning messages in your account. Some would say if I didn't comply with "whatever rule" they'd even suspend my account for 60 days. It was ridiculous, hard to describe because it doesn't make sense, and it took the support guy on the phone a good 20 minutes to explain it to me. Basically I got the answer "yea it's all good, you did nothing wrong. As long as you have the cash in your account to cover whatever the trade balance was" So I just kept getting these warnings that I had to ignore everyday. I hate Fidelity.
My fist day trading, I made a few so-so trades and then I got impatient. I saw YECO breaking out and I chased, soon realized I chased, so I got out. -$500. Shit, I have to make that back, I don't want my dad to see this. Got back in. Shit. -$400. So my first day trading, I lost $900. My dumbass was using market orders so that sure didn't help. I reeled the risk back and traded more proper position size for a while, but the commissions for a round trip are $10, so taking six trades per day, I'm losing $60 at a minimum on top of my losing trades. Quickly I realized I didn't know what the hell I was doing. What about my dad? Does HE know? One day, in the trading dungeon, I was frustrated with the experience I'd been having and just feeling lost overall. I asked him.
"So, are you consistently profitable?"
"mmm... I do alright."
"Yea but like, are you consistently profitable over time?"
.........................
"I do alright."
Silence.
"Do you know any consistently profitable traders?"
"Well the one who wrote that book I gave you, Tina Turner.. umm and there's Ross Cameron"
......................
"So you don't know any consistently profitable traders, personally.. People who are not trying to sell you something?"
"no."
...................
Holy fucking shit, what did this idiot get me into. He can't even say it to my face and admit it.
This entire life decision, quitting my job, leaving my rental, moving from my city to back home, giving shit away, it all relied on that. I was supposed to be an apprentice to a consistently profitable day trader who trades for a living. It was so assumed, that I never even thought to ask! Why would you tell your son to quit his job for something that you yourself cannot do? Is this all a scam? Did my dad get sold a DREAM? Did I buy into some kind of ponzi scheme? How many of those winning trades he showed me did he actually take? Are there ANY consistently profitable DAY TRADERS who TRADE FOR A LIVING? Why do 90% fail? Is it because the other 10% are scamming the rest in some way? Completely lost, I just had no clue what was what. If I was going to succeed at this, if it was even possible to succeed at this, it was entirely up to me. I had to figure it out. I still remember the feeling like an overwhelming, crushing weight on me as it all sunk in. This is going to be a big deal.. I'm not the type to give up though. In that moment, I said to myself,
I'm going to fucking win at this. I don't know if this is possible, but I'm going to find out. I cannot say with certainty that I will succeed, but no matter what, I will not give up. I'm going to give all of myself to this. I will find the truth.
It was a deep moment for me. I don't like getting on my soapbox, but when I said those things, I meant it. I really, really meant it. I still do, and I still will.
Now it might seem like I'm being hard on my dad. He has done a lot for me and I am very grateful for that. We're sarcastic as hell to each other, I love the bastard. Hell, I wouldn't have the opportunity to trade at all if not for him. But maybe you can also understand how overwhelmed I felt at that time. Not on purpose, of course he means well. But I am not a trusting person at all and I was willing to put trust into him after all the convincing and was very disappointed when I witnessed the reality of the situation. I would have structured this transition to trading differently, you don't just quit your job and start trading. Nobody was there to tell me that! I was told quite the opposite. I'm glad it happened anyway, so fuck it. I heard Kevin O'Leary once say,
"If I knew in the beginning how difficult starting a business was, I don't know that I ever would've started."
This applies very much to my experience.
So what did I do? Well like everyone I read and read and Googled and Youtube'd my ass off. I sure as hell didn't pay for a course because I didn't have the money and I'm like 99% sure I would be disappointed by whatever they were teaching as pretty much everything can be found online or in books for cheap or free. Also I discovered Thinkorswim and I used that to sim trade in real-time for three months. This is way the hell different than going on a sim at 5x speed and just clicking a few buy and sell buttons. Lol, useless. When you sim trade in real-time you're forced to have a routine, and you're forced to experience missing trades with no chance to rewind or skip the boring parts. That's a step up because you're "in it". I also traded real money too, made some, lost more than I made. went back to sim. Traded live again, made some but lost more, fell back to PDT. Dad fronted me more cash. This has happened a few times. He's dug me out of some holes because he believes in me. I'm fortunate.
Oh yeah, about that book my dad gave me. It's called A Beginner's Guide to Day Trading Online by Toni Turner. This book... is shit. This was supposed to be my framework for how to trade and I swear it's like literally nothing in this book fucking works lol. I could tell this pretty early on, intuitively, just by looking at charts. It's basically a buy-the-breakout type strategy, if you want to call it a strategy. No real methodology to anything just vague crap and showing you cherry-picked charts with entries that are way too late. With experience in the markets you will eventually come to find that MOST BREAKOUTS FAIL. It talks about support/resistance lines and describes them as, "picture throwing a ball down at the floor, it bounces up and then it bounces down off the ceiling, then back up." So many asinine assumptions. These ideas are a text book way of how to trade like dumb money. Don't get me wrong, these trades can work but you need to be able to identify the setups which are more probable and identify reasons not to take others. So I basically had to un-learn all that shit.
Present day, I have a routine in place. I'm out of the dungeon and trade by myself in my room. I trade with a discount broker that is catered to day traders and doesn't rape me on commissions. My mornings have a framework for analyzing the news and economic events of the particular day, I journal so that I can recognize what I'm doing right and where I need to improve. I record my screens for later review to improve my tape reading skills. I am actually tracking my trades now and doing backtesting in equities as well as forex. I'm not a fast reader but I do read a lot, as much as I can. So far I have read about 17-18 books on trading and psychology. I've definitely got a lot more skilled at trading.
As of yet I am not net profitable. Writing that sounds like selling myself short though, honestly. Because a lot of my trades are very good and are executed well. I have talent. However, lesser quality trades and trades which are inappropriately sized/ attempted too many times bring down that P/L. I'm not the type of trader to ignore a stop, I'm more the trader that just widdles their account down with small losses. I trade live because at this point, sim has lost its value, live trading is the ultimate teacher. So I do trade live but I just don't go big like I did before, I keep it small.
I could show you trades that I did great on and make people think I'm killing it but I really just don't need the validation. I don't care, I'm real about it. I just want to get better. I don't need people to think I'm a genius, I'm just trying to make some money.
Psychologically, to be honest with you, I currently feel beaten down and exhausted. I put a lot of energy into this, and sometimes I work myself physically sick, it's happened multiple times. About once a week, usually Saturday, I get a headache that lasts all day. My body's stress rebound mechanism you might call it. Getting over one of those sick periods now, which is why I barely even traded this week. I know I missed a lot of volatility this week and some A+ setups but I really just don't give a shit lol. I just currently don't have the mental capital, I think anyone who's been day trading every day for a year or more can understand what I mean by that. I'm still being productive though. Again, I'm not here to present an image of some badass trader, just keeping it real. To give something 100% day after day while receiving so much resistance, it takes a toll on you. So a break is necessary to avoid making bad trading decisions. That being said, I'm progressing more and more and eliminating those lesser quality trades and identifying my bad habits. I take steps to control those habits and strengthen my good habits such as having a solid routine, doing review and market research, taking profits at the right times, etc.
So maybe I can give some advice to some that are new to day trading, those who are feeling lost, or just in general thinking "...What the fuck..." I thought that every night for the first 6 months lol.
First of all, manage expectations. If you read my story of how I came to be a trader, you can see I had a false impression of trading in many aspects. Give yourself a realistic time horizon to how progress should be made. Do not set a monetary goal for yourself, or any time-based goal that is measured in your P/L. If you tell yourself, "I want to make X per day, X per week, or X per year" you're setting yourself up to feel like shit every single day when it's clear as the blue sky that you won't reach that goal anytime soon. As a matter of fact, it will appear you are moving further AWAY from that goal if you just focus on your P/L, which brings me to my next point.
You will lose money. In the beginning, most likely, you will lose money. I did it, you'll do it, the greatest Paul Tudor Jones did it. Trading is a skill that needs to be developed, and it is a process. Just look at it as paying your tuition to the market. Sim is fine but don't assume you have acquired this skill until you are adept at trading real money. So when you do make that leap, just trade small.
Just survive. Trade small. get the experience. Protect your capital. To reach break even on your bottom line is a huge accomplishment. In many ways, experience and screen time are the secret sauce.
Have a routine. This is very important. I actually will probably make a more in-depth post in the future about this if people want it. When I first started, I was overwhelmed with the feeling "What the fuck am I supposed to DO?" I felt lost. There's no boss to tell you how to be productive or how to find the right stocks, which is mostly a blessing, but a curse for new traders.
All that shit you see, don't believe all that bullshit. You know what I'm talking about. The bragposting, the clickbait Youtube videos, the ads preying on you. "I made X amount of money in a day and I'm fucking 19 lolz look at my Lamborghini" It's all a gimmick to sell you the dream. It's designed to poke right at your insecurities, that's marketing at it's finest. As for the bragposting on forums honestly, who cares. And I'm not pointing fingers on this forum, just any trading forum in general. They are never adding anything of value to the community in their posts. They never say this is how I did it. No, they just want you to think they're a genius. I can show you my $900 day trading the shit out of TSLA, but that doesn't tell the whole story. Gamblers never show you when they lose, you might never hear from those guys again because behind the scenes, they over-leveraged themselves and blew up. Some may actually be consistently profitable and the trades are 100% legit. That's fantastic. But again, I don't care, and you shouldn't either. You shouldn't compare yourself to others.
"Everyone's a genius in a bull market" Here's the thing.. Markets change. Edges disappear. Trading strategies were made by traders who traded during times when everything they did worked. Buy all the breakouts? Sure! It's the fucking tech bubble! Everything works! I'm sure all those typical setups used to work fantastically at some point in time. But the more people realize them, the less effective they are. SOMEONE has to be losing money on the opposite side of a winning trade, and who's willing to do that when the trade is so obvious? That being said, some things are obvious AND still work. Technical analysis works... sometimes. The caveat to that is, filters. You need to, in some way, filter out certain setups from others. For example, you could say, "I won't take a wedge pattern setup on an intraday chart unless it is in a higher time frame uptrend, without nearby resistance, and trading above average volume with news on that day."
Have a plan. If you can't describe your plan, you don't have one. Think in probabilities. You should think entirely in "if, then" scenarios. If X has happens, then Y will probably happen. "If BABA breaks this premarket support level on the open I will look for a pop up to short into."
Backtest. Most traders lose mainly because they think they have an edge but they don't. You read these books and all this stuff online telling you "this is a high probability setup" but do you know that for a fact? There's different ways to backtest, but I think the best way for a beginner is manual backtesting with a chart and an excel sheet. This builds up that screen time and pattern recognition faster. This video shows how to do that. Once I saw someone do it, it didn't seem so boring and awful as I thought it was.
Intelligence is not enough. You're smarter than most people, that's great, but that alone is not enough to make you money in trading necessarily. Brilliant people try and fail at this all the time, lawyers, doctors, surgeons, engineers.. Why do they fail if they're so smart? It's all a fucking scam. No, a number of reasons, but the biggest is discipline and emotional intelligence.
Journal every day. K no thanks, bro. That's fucking gay. That's how I felt when I heard this advice but really that is pride and laziness talking. This is the process you need to do to learn what works for you and what doesn't. Review the trades you took, what your plan was, what actually happened, how you executed. Identify what you did well and what you can work on. This is how you develop discipline and emotional intelligence, by monitoring yourself. How you feel physically and mentally, and how these states affect your decision-making.
Always be learning. Read as much as you can. Good quality books. Here's the best I've read so far;
Market Wizards -Jack Schwager
One Good Trade -Mike Bellafiore
The Daily Trading Coach -Bret Steenbarger
Psycho-cybernetics -Maxwell Maltz
Why You Win or Lose -Fred Kelly
The Art and Science of Technical Analysis -Adam Grimes
Dark Pools -Scott Patterson
Be nimble. Everyday I do my research on the symbols I'm trading and the fundamental news that's driving them. I might be trading a large cap that's gapping up with a beat on EPS and revenue and positive guidance. But if I see that stock pop up and fail miserably on the open amidst huge selling pressure, and I look and see the broader market tanking, guess what, I'm getting short, and that's just day trading. The movement of the market, on an intraday timeframe, doesn't have to make logical sense.
Adapt. In March I used to be able to buy a breakout on a symbol and swing it for the majority of the day. In the summer I was basically scalping on the open and being done for the day. Volatility changes, and so do my profit targets.
Be accountable. Be humble. Be honest. I take 100% responsibility for every dime I've lost or made in the market. It's not the market makers fault, it wasn't the HFTs, I pressed the button. I know my bad habits and I know my good habits.. my strengths/ my weaknesses.
Protect yourself from toxicity. Stay away from traders and people on forums who just have that negative mindset. That "can't be done" mentality. Day trading is a scam!! It can certainly be done. Prove it, you bastard. I'm posting to this particular forum because I don't see much of that here and apparently the mods to a good job of not tolerating it. As the mod wrote in the rules, they're most likely raging from a loss. Also, the Stocktwits mentality of "AAPL is going to TANK on the open! $180, here we come. $$$" , or the grandiose stories, "I just knew AMZN was going to go up on earnings. I could feel it. I went ALL IN. Options money, baby! ka-ching!$" Lol, that is so toxic to a new trader. Get away from that. How will you be able to remain nimble when this is your thought process?
Be good to yourself. Stop beating yourself up. You're an entrepreneur. You're boldly going where no man has gone before. You've got balls.
Acknowledge your mistakes, don't identify with them. You are not your mistakes and you are not your bad habits. These are only things that you do, and you can take action necessary to do them less.
It doesn't matter what people think. Maybe they think you're a fool, a gambler. You don't need their approval. You don't need to talk to your co-workers and friends about it to satisfy some subconscious plea for guidance; is this a good idea?
You don't need anyone's permission to become the person you want to be.
They don't believe in you? Fuck 'em. I believe in you.
submitted by indridcold91 to Daytrading [link] [comments]

3.3 How to implement strategies in M language

3.3 How to implement strategies in M language

Summary

In the previous article, we explained the premise of realizing the trading strategy from the aspects of the introduction of the M language , the basic grammar, the model execution method, and the model classification. In this article, we will continue the previous part, from the commonly used strategy modules and technologies. Indicators, step by step to help you achieve a viable intraday quantitative trading strategy.

Strategy Module


https://preview.redd.it/a4l7ofpuwxs41.png?width=1517&format=png&auto=webp&s=3f97ea5a7316edd434a47067d9b76c894577d01d

Stage Increase

Stage increase is calculating the percentage of current K line's closing price compare with previous N periods of closing price's difference. For example: Computing the latest 10 K-lines stage increases, can be written:
1234
CLOSE_0:=CLOSE; //get the current K-line's closing price, and save the results to variable CLOSE_0. CLOSE_10:=REF(CLOSE,10); //get the pervious 10 K-lines' closing price, and save the results to variable CLOSE_10 (CLOSE_0-CLOSE_10)/CLOSE_10*100;//calculating the percentage of current K line's closing price compare with previous N periods of closing price's difference. 

New high price

The new high price is calculated by whether the current K line is greater than N cycles' highest price. For example: calculating whether the current K line is greater than the latest 10 K-lines' highest price, can be written:
12
HHV_10:=HHV(HIGH,10); //Get the highest price of latest 10 K-lines, which includes the current K-line. HIGH>REF(HHV_10,1); //Judge whether the current K-line's highest price is greater than pervious K-lines' HHV_10 value. 

Price raise with massive trading volume increase

For example: If the current K line's closing price is 1.5 times of the closing price of the previous 10 K-lines, which means in 10 days, the price has risen 50%; and the trading volume also increased more than 5 times of the pervious 10 K-lines. can be written:
1234567
CLOSE_10:=REF(CLOSE,10); //get the 10th K-line closing price IS_CLOSE:=CLOSE/CLOSE_10>1.5; //Judging whether the current K Line closing price is 1.5 times greater than the value of CLOSE_10 VOL_MA_10:=MA(VOL,10); //get the latest 10 K-lines' average trading volume IS_VOL:=VOL>VOL_MA_10*5; //Judging whether the current K-line's trading volume is 5 times greater than the value of VOL_MA_10 IS_CLOSE AND IS_VOL; //Judging whether the condition of IS_CLOSE and IS_VOL are both true. 

Price narrow-shock market

Narrow-shock market means that the price is maintained within a certain range in the recent period. For example: If the highest price in 10 cycles minus the lowest price in 10 cycles, the result divided by the current K-line's closing price is less than 0.05. can be written:
1234
HHV_10:=HHV(CLOSE,10); //Get the highest price in 10 cycles(including current K-line) LLV_10:=LLV(CLOSE,10); //Get the lowest price in 10 cycles(including current K-line) (HHV_10-LLV_10)/CLOSE<0.05; //Judging whether the difference between HHV_10 and LLV_10 divided by current k-line's closing price is less than 0.05. 

Moving average indicates bull market

Moving Average indicates long and short direction, K line supported by or resisted by 5,10,20,30,60 moving average line, Moving average indicates bull market or bear market. can be written:
123456
MA_5:=MA(CLOSE,5); //get the moving average of 5 cycle closing price. MA_10:=MA(CLOSE,10);//get the moving average of 10 cycle closing price. MA_20:=MA(CLOSE,20);//get the moving average of 20 cycle closing price. MA_30:=MA(CLOSE,30);//get the moving average of 30 cycle closing price. MA_5>MA_10 AND MA_10>MA_20 AND MA_20>MA_30; //determine wether the MA_5 is greater than MA_10, and MA_10 is greater than MA_20, and MA_20 is greater than MA_30. 

Previous high price and its locations

To obtain the location of the previous high price and its location, you can use FMZ Quant API directly. can be written:
123
HHV_20:=HHV(HIGH,20); //get the highest price of 20 cycle(including current K line) HHVBARS_20:=HHVBARS(HIGH,20); //get the number of cycles from the highest price in 20 cycles to current K line HHV_60_40:REF(HHV_20,40); //get the highest price between 60 cycles and 40 cycles. 

Price gap jumping

The price gap is the case where the highest and lowest prices of the two K lines are not connected. It consists of two K lines, and the price gap is the reference price of the support and pressure points in the future price movement. When a price gap occurs, it can be assumed that an acceleration along the trend with original direction has begun. can be written:
12345678
HHV_1:=REF(H,1); //get the pervious K line's highest price LLV_1:=REF(L,1); //get the pervious K line's lowest price HH:=L>HHV_1; //judging wether the current K line's lowest price is greater than pervious K line's highest price (jump up) LL:=H1.001; //adding additional condition, the bigger of the price gap, the stronger the signal (jump up) LLL:=H/REF(L.1)<0.999; //adding additional condition, the bigger of the price gap, the stronger the signal (jump down) JUMP_UP:HH AND HHH; //judging the overall condition, whether it is a jump up JUMP_DOWN:LL AND LLL; //judging the overall condition, whether it is a jump down 

Common technical indicators

Moving average

https://preview.redd.it/np9qgn3ywxs41.png?width=811&format=png&auto=webp&s=39a401b5c9498a13d953678c0c452b3b8f6cbe2c
From a statistical point of view, the moving average is the arithmetic average of the daily price, which is a trending price trajectory. The moving average system is a common technical tool used by most analysts. From a technical point of view, it is a factor that affects the psychological price of technical analysts. The decision-making factor of thinking trading is a good reference tool for technical analysts. The FMZ Quant tool supports many different types of moving averages, as shown below:
1234567
MA_DEMO:MA(CLOSE,5); // get the moving average of 5 cycle MA_DEMO:EMA(CLOSE,15); // get the smooth moving average of 15 cycle MA_DEMO:EMA2(CLOSE,10);// get the linear weighted moving average of 10 cycle MA_DEMO:EMAWH(CLOSE,50); // get the exponentially weighted moving average of 50 cycle MA_DEMO:DMA(CLOSE,100); // get the dynamic moving average of 100 cycle MA_DEMO:SMA(CLOSE,10,3); // get the fixed weight of 3 moving average of closing price in 10 cycle MA_DEMO:ADMA(CLOSE,9,2,30); // get the fast-line 2 and slow-line 30 Kaufman moving average of closing price in 9 cycle. 

Bollinger Bands


https://preview.redd.it/mm0lkv00xxs41.png?width=1543&format=png&auto=webp&s=a87bdb4feecf97cbeef423b935860bfea85ffe6d
Bollinger bands is also based on the statistical principle. The middle rail is calculated according to the N-day moving average, and the upper and lower rails are calculated according to the standard deviation. When the BOLL channel starts changing from wide to narrow, which means the price will gradually returns to the mean. When the BOLL channel is changing from narrow to wide, it means that the market will start to change. If the price is up cross the upper rail, it means that the buying power is enhanced. If the price down cross the lower rail, it indicates that the selling power is enhanced.
Among all the technical indicators, Bollinger Bands calculation method is one of the most complicated, which introduces the concept of standard deviation in statistics, involving the middle trajectory ( MB ), the upper trajectory ( UP ) and the lower trajectory ( DN ). luckily, you don't have to know the calculation details, you can use it directly on FMZ Quant platform as follows:
1234
MID:MA(CLOSE,100); //calculating moving average of 100 cycle, call it Bollinger Bands middle trajectory TMP2:=STD(CLOSE,100); //calculating standard deviation of closing price of 100 cycle. TOP:MID+2*TMP2; //calculating middle trajectory plus 2 times of standard deviation, call it upper trajectory BOTTOM:MID-2*TMP2; //calculating middle trajectory plus 2 times of standard deviation, call it lower trajectory 

MACD Indicator


https://preview.redd.it/9p3k7y42xxs41.png?width=630&format=png&auto=webp&s=b1b8078325fc142c1563a1cf1cc0f222a13e0bde
The MACD indicator is a double smoothing operation using fast (short-term) and slow (long-term) moving averages and their aggregation and separation. The MACD developed according to the principle of moving averages removes the defect that the moving average frequently emits false signals, and also retains the effect of the other good aspect. Therefore, the MACD indicator has the trend and stability of the moving average. It was used to study the timing of buying and selling stocks and predicts stock price change. You can use it as follows:

DIFF:EMA(CLOSE,10)-EMA(CLOSE,50); //First calculating the difference between short-term moving average and long-term moving average. DEA:EMA(DIFF,10); //Then calculating average of the difference. 
The above is the commonly used strategy module in the development of quantitative trading strategies. In addition, there are far more than that. Through the above module examples, you can also implement several trading modules that you use most frequently in subjective trading. The methods are the same. Next, we began to write a viable intraday trading strategy.

Strategy Writing

In the Forex spot market, there is a wellknown strategy called HANS123. Its logic are basically judging wether the price breaks through the highest or lowest price of the number of K lines after the market opening

Strategy logic

  • Ready to enter the market after 30 minutes of opening;
  • Upper rail = 30 minutes high after opening ;
  • Lower rail = 30 minutes low after opening ;
  • When the price breaks above the upper limit, buy and open the position;
  • When the price falls below the lower rail, the seller opens the position.
  • Intraday trading strategy, closing before closing;

Strategy code

12345678910111213
// Data Calculation Q:=BARSLAST(DATA<>REF(DATA,1))+1; //Calculating the number of period from the first K line of the current trading day to current k line, and assign the results to N HH:=VALUEWHEN(TIME=0930,HHV(H,Q)); //when time is 9:30, get the highest price of N cycles, and assign the results to HH LL:=VALUEWHEN(TIME=0930,LLV(L,Q)); //When time is 9:30, get the lowest price of N cycles, and assign the results to LL //Placing Orders TIME>0930 AND TIME<1445 AND C>HH,BK; //If the time is greater than 9:30 and lesser than 14:45, and the closing price is greater than HH, opening long position. TIME>0930 AND TIME<1445 AND C=1445,CLOSEOUT; //If the time is greater or equal to 14:45, close all position. //Filtering the signals AUTOFILTER; //opening the filtering the signals mechanism 

To sum up

Above we have learned the concept of the strategy module. Through several commonly used strategy module cases, we had a general idea of the FMZ Quant programming tools, it can be said that learning to write strategy modules and improve programming logic thinking is a key step in advanced quantitative trading. Finally, we used the FMZ Quant tool to implement the trading strategy according a classical Forex trading strategy.

Next section notice

Maybe there are still some confusion for some people, mainly because of the coding part. Don't worry, we have already thought of that for you. On the FMZ Quant platform, there is another even easier programming tool for beginners. It is the visual programming, let's learn it soon!
submitted by FmzQuant to CryptoCurrencyTrading [link] [comments]

The Beginners Guide to Forex trading - Part 1 - YouTube Forex Trading for Beginners (Questions & Steps - 2020 ... (FOREX BEGINNERS) A-Z Steps To Getting Started In Forex ... HOW TO LEARN FOREX TRADING in 10 steps - YouTube Trading Forex for Beginners - The Basics - YouTube The ULTIMATE Forex Trading Course for Beginners - YouTube How to Day Trade in Forex For Beginners (Easy Step-By-Step ...

It puts more weight on current or recent prices, rather than simply averaging levels, As a result, it is closer to the price, showing dynamic support and resistance levels, not static ones. Trading the “perfect order” between different moving averages represents one of the most effective Forex moving average strategy. The setup is simple ... This simple, profitable trading guide teaches stock options trading for beginners. The strategy applies to the stock market, Forex currencies, and commodities. In this article, you will learn about what options are, how to buy Put and Call options, how to trade options and much more. Follow these steps: Step 1: Open the currency pair that you want to analyse Step 2: Select the 4-hour or daily timeframe to draw key support and resistance levels first. Step 3: Identify obvious swing highs and lows and draw a horizontal line on them. In the case of a price trending, use trendlines or channels to connect the highs or lows ### Forex Trading For Beginners Book Set ###One Hour Trading Strategy The simplest strategy to follow in forex trading. Reading this book, gives you the opportunity to learn the simplest, yet best strategy to make profit via forex trading. You are going to learn the strongest signal price action setups in forex and how to trade them to be a profitable forex trader through time. Investing For ... Let’s take a look at the 3 main steps of our 1-minute Forex scalping strategy. Step 1: Identify the short-term trend. The two moving averages are used to identify the current trend in the 1-minute timeframe. The 50-period EMA calculates the average price of the past 50 minutes, while the 100-period EMA calculates the average price of the past ... Forex trading involves significant risk of loss and is not suitable for all investors. Increasing leverage increases risk. 3 Introduction: Three skills you need to become a forex trader 4 Anticipating: How do I handle risk? 5 Planning: How do I create a trading plan? 6 Analyzing: How will I analyze the markets? 11 Get started with FOREX.com Contents Forex indicators cannot look into the future, unlike Forex studies, such as Elliot waves, Fibonacci, Pivot points, Gann theory, market cycles etc. These studies are not exactly "forecasting the future", but they can help to build a plan of possible expected key levels and turning points in the market for days, weeks and months ahead.

[index] [15958] [24263] [24560] [28262] [22913] [14567] [13712] [10473] [23676] [8125]

The Beginners Guide to Forex trading - Part 1 - YouTube

If you are a beginner in forex trading and looking to embark on this brand new career. Do go through the questions and steps mentioned in this video on how t... 14 day RISK FREE TRIAL on investing and trading HERE: http://training.tieronetrading.com/trial For my #1 podcast go to: iTunes: http://bit.ly/alwaysfreepodca... Practice FOREX - FREE or REAL at: http://www.avatrade.com/?tag=75842 Forex Scams: https://www.youtube.com/watch?v=eTiXEEBIQnI PART 2: https://www.youtube.com... This is the first video in The Beginners Guide to Forex trading. This Forex trading series is great for new traders and beginners. Part 1 of this Forex trading ... Learn Forex today The So Darn Easy Way™. So Darn Easy Forex strategies are easy to understand and taught in layman's terms. Get started with your Forex train... How to Day Trade in Forex For Beginner! EASY STEP BY STEP GUIDE. Access to My Online Trading Course: The Swag Academy. www.TheSwagAcademy.com Technical Analy... If you're new to Forex trading, have less than a year of experience, or you want to learn more about Forex markets, then this course is for you. ** FREE TRAD...

http://binaryoptiontrade.clevgaducap.tk