Best Forex EA’s Expert Advisors FX Robots - Reviews ...

[Hiring] (Online) Coding of an MT4 EA for forex trading. Can pay in XBT or AUD

Please direct me to a more suitable sub if this doesn't follow the guidelines. I have a system that I've been using for quite a while with success that I would like to turn into an automatic trading system. I use 3 moving averages, stop loss and stop limit, and only on the 5min euusd chart. Please pm if you can write an ea with those functions, and I will give you the details.
submitted by CaptainMan5 to forhire [link] [comments]

My home-made bar replay for MT4

I made a home-made bar replay for MT4 as an alternative to the tradingview bar replay. You can change timeframes and use objects easily. It just uses vertical lines to block the future candles. Then it adjusts the vertical lines when you change zoom or time frames to keep the "future" bars hidden.
I am not a professional coder so this is not as robust as something like Soft4fx or Forex Tester. But for me it gets the job done and is very convenient. Maybe you will find some benefit from it.

Here are the steps to use it:
1) copy the text from the code block
2) go to MT4 terminal and open Meta Editor (click icon or press F4)
3) go to File -> New -> Expert Advisor
4) put in a title and click Next, Next, Finish
5) Delete all text from new file and paste in text from code block
6) go back to MT4
7) Bring up Navigator (Ctrl+N if it's not already up)
8) go to expert advisors section and find what you titled it
9) open up a chart of the symbol you want to test
10) add the EA to this chart
11) specify colors and start time in inputs then press OK
12) use "S" key on your keyboard to advance 1 bar of current time frame
13) use tool bar buttons to change zoom and time frames, do objects, etc.
14) don't turn on auto scroll. if you do by accident, press "S" to return to simulation time.
15) click "buy" and "sell" buttons (white text, top center) to generate entry, TP and SL lines to track your trade
16) to cancel or close a trade, press "close order" then click the white entry line
17) drag and drop TP/SL lines to modify RR
18) click "End" to delete all objects and remove simulation from chart
19) to change simulation time, click "End", then add the simulator EA to your chart with a new start time
20) When you click "End", your own objects will be deleted too, so make sure you are done with them
21) keep track of your own trade results manually
22) use Tools-> History center to download new data if you need it. the simulator won't work on time frames if you don't have historical data going back that far, but it will work on time frames that you have the data for. If you have data but its not appearing, you might also need to increase max bars in chart in Tools->Options->Charts.
23) don't look at status bar if you are moused over hidden candles, or to avoid this you can hide the status bar.


Here is the code block.
//+------------------------------------------------------------------+ //| Bar Replay V2.mq4 | //| Copyright 2020, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2020, MetaQuotes Software Corp." #property link "https://www.mql5.com" #property version "1.00" #property strict #define VK_A 0x41 #define VK_S 0x53 #define VK_X 0x58 #define VK_Z 0x5A #define VK_V 0x56 #define VK_C 0x43 #define VK_W 0x57 #define VK_E 0x45 double balance; string balance_as_string; int filehandle; int trade_ticket = 1; string objectname; string entry_line_name; string tp_line_name; string sl_line_name; string one_R_line_name; double distance; double entry_price; double tp_price; double sl_price; double one_R; double TP_distance; double gain_in_R; string direction; bool balance_file_exist; double new_balance; double sl_distance; string trade_number; double risk; double reward; string RR_string; int is_tp_or_sl_line=0; int click_to_cancel=0; input color foreground_color = clrWhite; input color background_color = clrBlack; input color bear_candle_color = clrRed; input color bull_candle_color = clrSpringGreen; input color current_price_line_color = clrGray; input string start_time = "2020.10.27 12:00"; input int vertical_margin = 100; //+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ int OnInit() { Comment(""); ChartNavigate(0,CHART_BEGIN,0); BlankChart(); ChartSetInteger(0,CHART_SHIFT,true); ChartSetInteger(0,CHART_FOREGROUND,false); ChartSetInteger(0,CHART_AUTOSCROLL,false); ChartSetInteger(0,CHART_SCALEFIX,false); ChartSetInteger(0,CHART_SHOW_OBJECT_DESCR,true); if (ObjectFind(0,"First OnInit")<0){ CreateStorageHLine("First OnInit",1);} if (ObjectFind(0,"Simulation Time")<0){ CreateTestVLine("Simulation Time",StringToTime(start_time));} string vlinename; for (int i=0; i<=1000000; i++){ vlinename="VLine"+IntegerToString(i); ObjectDelete(vlinename); } HideBars(SimulationBarTime(),0); //HideBar(SimulationBarTime()); UnBlankChart(); LabelCreate("New Buy Button","Buy",0,38,foreground_color); LabelCreate("New Sell Button","Sell",0,41,foreground_color); LabelCreate("Cancel Order","Close Order",0,44,foreground_color); LabelCreate("Risk To Reward","RR",0,52,foreground_color); LabelCreate("End","End",0,35,foreground_color); ObjectMove(0,"First OnInit",0,0,0); //--- create timer EventSetTimer(60); return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Expert deinitialization function | //+------------------------------------------------------------------+ void OnDeinit(const int reason) { //--- destroy timer EventKillTimer(); } //+------------------------------------------------------------------+ //| Expert tick function | //+------------------------------------------------------------------+ void OnTick() { //--- } //+------------------------------------------------------------------+ //| ChartEvent function | //+------------------------------------------------------------------+ void OnChartEvent(const int id, const long &lparam, const double &dparam, const string &sparam) { if (id==CHARTEVENT_CHART_CHANGE){ int chartscale = ChartGetInteger(0,CHART_SCALE,0); int lastchartscale = ObjectGetDouble(0,"Last Chart Scale",OBJPROP_PRICE,0); if (chartscale!=lastchartscale){ int chartscale = ChartGetInteger(0,CHART_SCALE,0); ObjectMove(0,"Last Chart Scale",0,0,chartscale); OnInit(); }} if (id==CHARTEVENT_KEYDOWN){ if (lparam==VK_S){ IncreaseSimulationTime(); UnHideBar(SimulationPosition()); NavigateToSimulationPosition(); CreateHLine(0,"Current Price",Close[SimulationPosition()+1],current_price_line_color,1,0,true,false,false,"price"); SetChartMinMax(); }} if(id==CHARTEVENT_OBJECT_CLICK) { if(sparam=="New Sell Button") { distance = iATR(_Symbol,_Period,20,SimulationPosition()+1)/2; objectname = "Trade # "+IntegerToString(trade_ticket); CreateHLine(0,objectname,Close[SimulationPosition()+1],foreground_color,2,5,false,true,true,"Sell"); objectname = "TP for Trade # "+IntegerToString(trade_ticket); CreateHLine(0,objectname,Close[SimulationPosition()+1]-distance*2,clrAqua,2,5,false,true,true,"TP"); objectname = "SL for Trade # "+IntegerToString(trade_ticket); CreateHLine(0,objectname,Close[SimulationPosition()+1]+distance,clrRed,2,5,false,true,true,"SL"); trade_ticket+=1; } } if(id==CHARTEVENT_OBJECT_CLICK) { if(sparam=="New Buy Button") { distance = iATR(_Symbol,_Period,20,SimulationPosition()+1)/2; objectname = "Trade # "+IntegerToString(trade_ticket); CreateHLine(0,objectname,Close[SimulationPosition()+1],foreground_color,2,5,false,true,true,"Buy"); objectname = "TP for Trade # "+IntegerToString(trade_ticket); CreateHLine(0,objectname,Close[SimulationPosition()+1]+distance*2,clrAqua,2,5,false,true,true,"TP"); objectname = "SL for Trade # "+IntegerToString(trade_ticket); CreateHLine(0,objectname,Close[SimulationPosition()+1]-distance,clrRed,2,5,false,true,true,"SL"); trade_ticket+=1; } } if(id==CHARTEVENT_OBJECT_DRAG) { if(StringFind(sparam,"TP",0)==0) { is_tp_or_sl_line=1; } if(StringFind(sparam,"SL",0)==0) { is_tp_or_sl_line=1; } Comment(is_tp_or_sl_line); if(is_tp_or_sl_line==1) { trade_number = StringSubstr(sparam,7,9); entry_line_name = trade_number; tp_line_name = "TP for "+entry_line_name; sl_line_name = "SL for "+entry_line_name; entry_price = ObjectGetDouble(0,entry_line_name,OBJPROP_PRICE,0); tp_price = ObjectGetDouble(0,tp_line_name,OBJPROP_PRICE,0); sl_price = ObjectGetDouble(0,sl_line_name,OBJPROP_PRICE,0); sl_distance = MathAbs(entry_price-sl_price); TP_distance = MathAbs(entry_price-tp_price); reward = TP_distance/sl_distance; RR_string = "RR = 1 : "+DoubleToString(reward,2); ObjectSetString(0,"Risk To Reward",OBJPROP_TEXT,RR_string); is_tp_or_sl_line=0; } } if(id==CHARTEVENT_OBJECT_CLICK) { if(sparam=="Cancel Order") { click_to_cancel=1; Comment("please click the entry line of the order you wish to cancel."); } } if(id==CHARTEVENT_OBJECT_CLICK) { if(sparam!="Cancel Order") { if(click_to_cancel==1) { if(ObjectGetInteger(0,sparam,OBJPROP_TYPE,0)==OBJ_HLINE) { entry_line_name = sparam; tp_line_name = "TP for "+sparam; sl_line_name = "SL for "+sparam; ObjectDelete(0,entry_line_name); ObjectDelete(0,tp_line_name); ObjectDelete(0,sl_line_name); click_to_cancel=0; ObjectSetString(0,"Risk To Reward",OBJPROP_TEXT,"RR"); } } } } if (id==CHARTEVENT_OBJECT_CLICK){ if (sparam=="End"){ ObjectsDeleteAll(0,-1,-1); ExpertRemove(); }} } //+------------------------------------------------------------------+ void CreateStorageHLine(string name, double value){ ObjectDelete(name); ObjectCreate(0,name,OBJ_HLINE,0,0,value); ObjectSetInteger(0,name,OBJPROP_SELECTED,false); ObjectSetInteger(0,name,OBJPROP_SELECTABLE,false); ObjectSetInteger(0,name,OBJPROP_COLOR,clrNONE); ObjectSetInteger(0,name,OBJPROP_BACK,true); ObjectSetInteger(0,name,OBJPROP_ZORDER,0); } void CreateTestHLine(string name, double value){ ObjectDelete(name); ObjectCreate(0,name,OBJ_HLINE,0,0,value); ObjectSetInteger(0,name,OBJPROP_SELECTED,false); ObjectSetInteger(0,name,OBJPROP_SELECTABLE,false); ObjectSetInteger(0,name,OBJPROP_COLOR,clrWhite); ObjectSetInteger(0,name,OBJPROP_BACK,true); ObjectSetInteger(0,name,OBJPROP_ZORDER,0); } bool IsFirstOnInit(){ bool bbb=false; if (ObjectGetDouble(0,"First OnInit",OBJPROP_PRICE,0)==1){return true;} return bbb; } void CreateTestVLine(string name, datetime timevalue){ ObjectDelete(name); ObjectCreate(0,name,OBJ_VLINE,0,timevalue,0); ObjectSetInteger(0,name,OBJPROP_SELECTED,false); ObjectSetInteger(0,name,OBJPROP_SELECTABLE,false); ObjectSetInteger(0,name,OBJPROP_COLOR,clrNONE); ObjectSetInteger(0,name,OBJPROP_BACK,false); ObjectSetInteger(0,name,OBJPROP_ZORDER,3); } datetime SimulationTime(){ return ObjectGetInteger(0,"Simulation Time",OBJPROP_TIME,0); } int SimulationPosition(){ return iBarShift(_Symbol,_Period,SimulationTime(),false); } datetime SimulationBarTime(){ return Time[SimulationPosition()]; } void IncreaseSimulationTime(){ ObjectMove(0,"Simulation Time",0,Time[SimulationPosition()-1],0); } void NavigateToSimulationPosition(){ ChartNavigate(0,CHART_END,-1*SimulationPosition()+15); } void NotifyNotEnoughHistoricalData(){ BlankChart(); Comment("Sorry, but there is not enough historical data to load this time frame."+"\n"+ "Please load more historical data or use a higher time frame. Thank you :)");} void UnHideBar(int barindex){ ObjectDelete(0,"VLine"+IntegerToString(barindex+1)); } void BlankChart(){ ChartSetInteger(0,CHART_COLOR_FOREGROUND,clrNONE); ChartSetInteger(0,CHART_COLOR_CANDLE_BEAR,clrNONE); ChartSetInteger(0,CHART_COLOR_CANDLE_BULL,clrNONE); ChartSetInteger(0,CHART_COLOR_CHART_DOWN,clrNONE); ChartSetInteger(0,CHART_COLOR_CHART_UP,clrNONE); ChartSetInteger(0,CHART_COLOR_CHART_LINE,clrNONE); ChartSetInteger(0,CHART_COLOR_GRID,clrNONE); ChartSetInteger(0,CHART_COLOR_ASK,clrNONE); ChartSetInteger(0,CHART_COLOR_BID,clrNONE);} void UnBlankChart(){ ChartSetInteger(0,CHART_COLOR_FOREGROUND,foreground_color); ChartSetInteger(0,CHART_COLOR_CANDLE_BEAR,bear_candle_color); ChartSetInteger(0,CHART_COLOR_CANDLE_BULL,bull_candle_color); ChartSetInteger(0,CHART_COLOR_BACKGROUND,background_color); ChartSetInteger(0,CHART_COLOR_CHART_DOWN,foreground_color); ChartSetInteger(0,CHART_COLOR_CHART_UP,foreground_color); ChartSetInteger(0,CHART_COLOR_CHART_LINE,foreground_color); ChartSetInteger(0,CHART_COLOR_GRID,clrNONE); ChartSetInteger(0,CHART_COLOR_ASK,clrNONE); ChartSetInteger(0,CHART_COLOR_BID,clrNONE);} void HideBars(datetime starttime, int shift){ int startbarindex = iBarShift(_Symbol,_Period,starttime,false); ChartNavigate(0,CHART_BEGIN,0); if (Time[WindowFirstVisibleBar()]>SimulationTime()){NotifyNotEnoughHistoricalData();} if (Time[WindowFirstVisibleBar()]=0; i--){ vlinename="VLine"+IntegerToString(i); ObjectCreate(0,vlinename,OBJ_VLINE,0,Time[i],0); ObjectSetInteger(0,vlinename,OBJPROP_COLOR,background_color); ObjectSetInteger(0,vlinename,OBJPROP_BACK,false); ObjectSetInteger(0,vlinename,OBJPROP_WIDTH,vlinewidth); ObjectSetInteger(0,vlinename,OBJPROP_ZORDER,10); ObjectSetInteger(0,vlinename,OBJPROP_FILL,true); ObjectSetInteger(0,vlinename,OBJPROP_STYLE,STYLE_SOLID); ObjectSetInteger(0,vlinename,OBJPROP_SELECTED,false); ObjectSetInteger(0,vlinename,OBJPROP_SELECTABLE,false); } NavigateToSimulationPosition(); SetChartMinMax();} }//end of HideBars function void SetChartMinMax(){ int firstbar = WindowFirstVisibleBar(); int lastbar = SimulationPosition(); int lastbarwhenscrolled = WindowFirstVisibleBar()-WindowBarsPerChart(); if (lastbarwhenscrolled>lastbar){lastbar=lastbarwhenscrolled;} double highest = High[iHighest(_Symbol,_Period,MODE_HIGH,firstbar-lastbar,lastbar)]; double lowest = Low[iLowest(_Symbol,_Period,MODE_LOW,firstbar-lastbar,lastbar)]; ChartSetInteger(0,CHART_SCALEFIX,true); ChartSetDouble(0,CHART_FIXED_MAX,highest+vertical_margin*_Point); ChartSetDouble(0,CHART_FIXED_MIN,lowest-vertical_margin*_Point); } void LabelCreate(string labelname, string labeltext, int row, int column, color labelcolor){ int ylocation = row*18; int xlocation = column*10; ObjectCreate(0,labelname,OBJ_LABEL,0,0,0); ObjectSetString(0,labelname,OBJPROP_TEXT,labeltext); ObjectSetInteger(0,labelname,OBJPROP_COLOR,labelcolor); ObjectSetInteger(0,labelname,OBJPROP_FONTSIZE,10); ObjectSetInteger(0,labelname,OBJPROP_ZORDER,10); ObjectSetInteger(0,labelname,OBJPROP_BACK,false); ObjectSetInteger(0,labelname,OBJPROP_CORNER,CORNER_LEFT_UPPER); ObjectSetInteger(0,labelname,OBJPROP_ANCHOR,ANCHOR_LEFT_UPPER); ObjectSetInteger(0,labelname,OBJPROP_XDISTANCE,xlocation); ObjectSetInteger(0,labelname,OBJPROP_YDISTANCE,ylocation);} double GetHLinePrice(string name){ return ObjectGetDouble(0,name,OBJPROP_PRICE,0); } void CreateHLine(int chartid, string objectnamey, double objectprice, color linecolor, int width, int zorder, bool back, bool selected, bool selectable, string descriptionn) { ObjectDelete(chartid,objectnamey); ObjectCreate(chartid,objectnamey,OBJ_HLINE,0,0,objectprice); ObjectSetString(chartid,objectnamey,OBJPROP_TEXT,objectprice); ObjectSetInteger(chartid,objectnamey,OBJPROP_COLOR,linecolor); ObjectSetInteger(chartid,objectnamey,OBJPROP_WIDTH,width); ObjectSetInteger(chartid,objectnamey,OBJPROP_ZORDER,zorder); ObjectSetInteger(chartid,objectnamey,OBJPROP_BACK,back); ObjectSetInteger(chartid,objectnamey,OBJPROP_SELECTED,selected); ObjectSetInteger(chartid,objectnamey,OBJPROP_SELECTABLE,selectable); ObjectSetString(0,objectnamey,OBJPROP_TEXT,descriptionn); } //end of code 
submitted by Learning_2 to Forex [link] [comments]

Forex Trading For Beginners - Cadjpy 60 sec Analysis #forex_trading

Forex Trading For Beginners - Cadjpy 60 sec Analysis #forex_trading#forex_trading_strategies
https://www.youtube.com/watch?v=6T1DcYvm6VY
Forex Trade - Technical Analysis
Cadjpy
Analysis Number 12
11 November 2020
.......................................................................................................
#Here_is_our_forex_analysis_on_this_pair,
Weekly is a strong uptrend and daily structure has shift from bearish to bullish. We will be monitoring price action at the marked zone for any setup according to our strategy. #Note_:_Read_Disclaimer_Below
........................................................................................................................
Don't Forget to #Like_and_Subscribe to our YouTube Channel so you wont miss any analysis. $30 NO DEPOSIT BONUS available ONLY to New Clients and Claim Yours Before the Promotion is Over. https://clicks.pipaffiliates.com/c?c=...
......................................................................................................
Forex trade entry will only be taken if all rules of our forex trading strategy will be met. At the moment we will monitor price action at the marked zone, Then we will look for an entry according to our forex trading analysis with proper Risk management, and with a good risk to reward ratio. You can keep this pair's forex trading analysis on your watchlist and monitor it. If your forex trading rules and your strategy align with the analysis made, only then you can decide to take your trades or not. Have a good forex trading day everyone. New to forex trading ?? If you don't have a forex trading account and would like to try forex trading, then follow the link below to open your forex trade account with a trusted broker. Recommended Broker https://www.xm.com/referral?token=Luz... You don't have to use this broker, you can choose other brokers also if you find them. ...............................................................................................
Note : USE PROPER RISK MANAGEMENT.
: Use your own strategy and to reconfirm setups before taking any trades. ................................................................................................
Blog Site - https://forextradingforbeginners101.b...
Telegram - https://t.me/fxlifestyletelegram
Tradingview - https://www.tradingview.comlovelove
Twitter - https://twitter.com/FxLifes30183986
Pinterest - https://www.pinterest.com/forexlifestyle
Facebook Page - https://www.facebook.com/Fx-Lifestyle...
Facebook Group - https://www.facebook.com/groups/64826...
YouTube - https://youtube.com/channel/UC23pgPGP...
.............................................................................
Recommended Broker https://www.xm.com/referral?token=Luz...
.........................................................
@@ Next big crypto... mine before launch.. @@ The Story Of Pi - The First Digital Currency You Can Mine On Your Phone.
Invitation Link Below
https://minepi.com/Hunter30
Use the code "Hunter30" People can join through personal invitations only. ..................................................................................................................... #forex,#forex_trading,#beginner_trader,#beginners_guide_trading,#beginners_forex_guide,#forex_trading_for_beginners_course,#trading_for_beginners,#forex_trading_for_beginners_mt4,#forex_trading_strategies_for_beginners,#forex_trading,#daily_forex_forecast_for_beginners,#daily_forecast_for_beginners,#forex_trading_strategies,#forex_daily,#daily_forex_analysis,#Forex_strategies,#Analysis_today,#forex_trading_strategy,#trading_strategy_for_beginners,#forex_trading_metatrader_4#forex_trading_live,# #Forex_trading_for_beginners, #forex_trading_platforms, #forex_trading_strategies,#learn_forex_trading,#forex_for_beginners,#forex_trading_for_dummies,#forex_trading_training,#best_forex_brokers_for_beginners,#price_action,#forex_strategies,#scalping_strategy,#forex_indicators,#scalping_forex,#50_pips_a_day_forex_strategy,#price_action_strategy,#day_trading_and_swing_trading_the_currency_market,#price_action_forex,#forex_scalping_strategy,, #how_to_trade_forex, #how_to_trade_bitcoin, #how_to_trade_online, #how_to_trade_option, #how_to_trade_stocks, #how_to_trade_with_$100,#how_to_trade_forex_successfully. .......................................................................................................................
Disclaimer - Any information shared is intended for educational purposes only and does not give financial advice. Forex trading involves great risk of financial loss. Only trade with money that you are prepared to lose. Forex Trading For Beginners, we take no responsibility for money made or lost by you. You must make your own financial decisions yourself.
submitted by technicalanalysis101 to u/technicalanalysis101 [link] [comments]

How to automate trading according to one indicator for a buy and sell?

Testing right now and looking at one indicator specifically to hit certain metrics and initiate a buy or sell once it hits those metrics with an auto stop loss and take profit according to a certain amount of pips according to percentage
Can I do this somehow?
submitted by rawrtherapy to Forex [link] [comments]

Learn More About the Latest Forex Tools

These FX trading tools lets the user take their own algorithms and strategies and run them together. It allows for algorithmic strategy building along with no need for coding knowledge.

For anyone that wishes to formalise their style of trading using algorithms.

It offers:

• A simple to use drag and drop interface
• Ability to connect technical indicators and math functions
• Templates that are easy to customise
• The ability to implement strategies for platforms including cTrader and MT4
• Both videos and e-book for those just starting out

VPS

Want an FX trading tool that will be online 24/7? That's just what VPS (Virtual Private Server) is capable of. It's a remote computer made available to traders that are algorithmic. It gives the option of complete automation for trading, the terminal doesn't even have to stay running. The main benefit of this Fx trading tool is no interruptions. Expect lowered latency and zero down time!

No reboots and protection of EAs are two benefits that have professionals using VPS more often than ever. Even set up will go on without a hitch using an easy step-by-step guide. Of course, having professionals set it up ensures that it's done right, and that traders are trained accordingly.

The Economic Calendar

A simple to use economic calendar is a priceless FX trading tool. It allows the trader to plan his or her day by the minute. Take control of currently released and previous reports that have been released as well as volatility generated and consensus forecasts. Knowing upcoming events that will happen in just the next few hours as well as days, weeks and months gives one an edge on other traders.

Many are happy to know that there are automatic updates and live views of released event data. The ability to view previous events and analyse their effect on the market is invaluable and could easily make for better trades.

Ease of Use

No matter which economic calendar is chosen, one will see all the scheduled events broken down for the day at hand. By selecting an individual event, one will get even more information and data that can help make more than informed decisions on trading.

Expect to see how much time is left until the next event, as well as those that have already happened. Expected volatility is presented as well as prior percentages and an actual consensus. All of these benefits will help anyone make the most informed decisions possible.

Mobile Apps

The Forex calendar is customisable so only what one wants to be informed of is seen. This makes it easy for beginners, and less stressful for experienced traders. One can change the time zone, country, category and volatility level to get detailed results that cater to their needs.

Staying up-to-date on all the latest developments is easy with mobile apps for both Android and Apple devices. The calendar app can also be downloaded so that wherever one goes they have access to whatever information they need.

Conclusion

These are just a few of the FX trading tools available on the market. Aligning with experts in Forex is a smart way to ensure that one is getting the best setup for their personal trading needs and style. Forex can be a complicated platform for trade, but it can also be simple when the right tools and help are obtained.
submitted by jeffout to forex_rating [link] [comments]

Does anyone actually end up positive in Forex trading? (With EA’s)

I’m fairly new to forex trading and was wondering does anyone actually end positive and withdraw or is the “96% traders fail” thing true. I have started to trade with an EA I’ve coded so if any could talk about their experience it would be helpful.
submitted by AmritKundan to Forex [link] [comments]

40+ FREE Udemy Courses - Added Today !!

Source : https://www.facebook.com/groups/FreeOnlineCoursesWithCoupon/permalink/3432853156726870/
  1. Procurement Planning (PMI – PMP)
  2. Analytical Techniques for Business Analysis (IIBA – ECBA)
  3. Business Analysis Certification Program – The Tools
  4. Identifying Risk (PMBOK6 Aligned)
  5. Monitor Project Communications (PMI – PMP)
  6. Udemy Sitewide : Course from $10.99
  7. Splunk Basics Course
  8. Aspen Plus V11 Steady-State Masterclass Free Preview
  9. Make Your Business Work For You – Vibepreneur Training
  10. Unity Game Development for beginners
  11. Learn 39 Different Ways to Make Money Online!
  12. Verkaufsmanagement im Einzelhandel
  13. (5 Star / 82 Hours Videos) Ultimate PHP, Laravel, CSS & Sass! Learn PHP, Laravel & Sass $9.99
  14. Decision Making: Improve Team and Meeting Productivity!
  15. Curso Completo de E-Commerce usando Embudos de Marketing
  16. Basic & Essential Excel Formulas And Functions Course 2020
  17. Applied Machine Learning in R
  18. Statistics with R – Intermediate Level
  19. Statistics with R – Advanced Level
  20. Python for Beginners – Basics to Advanced
  21. Step by Step Guide to Machine Learning
  22. Complete PHP OOP Concepts for Absolute Beginners + Projects $9.99
  23. AWS Services for Solutions Architect Associates
  24. Docker Course for Beginners
  25. DevOps Fundamentals
  26. Modern JavaScript for React JS – ES6
  27. Network Protocol Ethical Hacking Course
  28. Free: Full access to 3,800 courses to University and college students @ Coursera
  29. Programa Gestor de carteras de inversión en R Studio
  30. An Advanced JQuery Practical Course
  31. The Python 3 Certification Course
  32. Learn Photoshop From Scratch Practically
  33. A Beginner’s Guide to Android App Development
  34. COVID19 Protect Me: Device Warns You if Your Hand near Face
  35. Edexcel GCE Advance Chinese 9CN0-02 Written -Core Course
  36. FOREX L’ntroduction – Trader le forex de façon autonome
  37. Master Budgets – Managerial Accounting/Cost Accounting
  38. 2020 Complete Origami: From zero to hero!
  39. HTML5 – Basics to Advanced
  40. 60 Free Courses from YouAccel : Web Development, CSS, HTML, JavaScript, jQuery, Bootstrap, PHP, MySQL, XML-AJAX, NGINX, Adobe Illustrator, Kotlin, Ruby and More
  41. 2020 – Python 3 Unit test for Beginners
  42. Step by Step Guide for Javascript – Basics to Advanced
  43. CSS – Basics to Advanced
  44. Biology Basics
  45. Your Guide to Start Software Testing Career
  46. Master Mathematics: Set Theory – Basic
  47. YouTube Marketing: Become a Digital TV Star in Your Niche
  48. Salary Negotiation – How to Ask for and Receive a Pay Raise
  49. Public Relations: Media Crisis Communications
  50. The Complete One Hour Perfect Posture Habits Course
  51. 36 FREE Courses from Simpliv: Internet of Things, Python, Cyber Security, Mobile Development, Networking and Security, Web Development, Agile, Cloud Computing, 3D and Animation & More
  52. 22 Free Microsoft Office Training : Access, Excel, Word, Forms, Kaizala, OneDrive, Microsoft Teams, Outlook & More
  53. Free : 2 Months Premium & 30% Off Annual Membership – Skillshare
  54. PUREVPN : $1.65
  55. Free: Full access to 3,800 courses to University and college students @ Coursera
  56. List of 20 FREE Popular Eduonix Courses

ADD ANY 2 ITEMS AT CART : CODE FLAT25

· $72 Cybersecurity E-Degree+$0 Mighty Cybersecurity Bundle
· $57 ( $0 DevOps E-degree+ $57 Mighty DevOps Bundle-22 Courses 159.15+ Hrs Video )
· $57 ( $0 Fullstack JavaScript Developer E-Degree+ $57 Mighty JavaScript Bundle– 22 Courses 191+ Hrs Video )
· $57 ( Mighty Web Development Bundle– 22 Courses 366+ Hrs Video + $0 Mighty Web Development Bundle 2.0– 22 Courses 187+ Hrs Video)
$52.50 Artificial Intelligence and Machine Learning E-Degree+ $0 Advance Artificial Intelligence & Machine Learning E-Degree
submitted by ViralMedia007 to FREECoursesEveryday [link] [comments]

MT4 Implementation of Non-included Indicators

Hey all, I’m very new to the community. As someone that’s a CS major in college right now, when a family member showed me his work in forex, I was immediately interested in the EA functionality aspect. I do have one question, however. I notice that the mql4.com/indicators list is missing indicators (obviously they won’t all be there) but is there a way to create my own? For instance, is there a way I could add a Keltner Channel indicator to my EA (which isn’t on the indicators list) by somehow accessing the code of the keltner channel indicator itself?
Any help would be greatly appreciated guys! thanks!
submitted by Tristinyoung to algotrading [link] [comments]

Has anyone tried Forex robot trading?

What Is a Forex Robot?
These days, it is becoming more and more common for traders to utilize modern methods of technology in their trading and there are many advantages to doing so.
Traders are increasingly likely to use trading systems or software that allows them to automate the trading process — thus reducing the problems of emotional attachment to a trade or a lack of trading discipline. A Forex robot does exactly that and one of the most popular ways to use one is via the MetaTrader 4 platform.
The MetaTrader 4 platform offers a complete solution to a trader’s needs, consisting of charts, news feeds, and more. And, by coding in the native MQL4 programming language, it is also possible to write custom built indicators or even trading strategies — also known as expert advisors.
Free Ex4 to Mq4 decompiler!! Top EA List: https://best-forex-trading-robots.com/
Expert Advisors
An expert advisor (EA) is another name for a Forex robot, one that has been developed to be used on the MetaTrader 4 platform. Since it can be custom built, an expert advisor can be designed to implement any trading strategy or risk management system so long as the designer knows how to code it into the program.
For example, a trader may design an EA to open positions in the market at a certain size after a moving average crossover.
Has anyone tried Forex robot trading? Best-forex-robots
Benefits
The main advantage of using a Forex robot is that it takes the emotion out of trading, which if not addressed, can be a big barrier to many traders. Fear, greed, and stress can build up in manual trading all too easily, leading a trader to lose money and get frustrated with the game.
A robot on the other hand, will implement the chosen strategy flawlessly every time and with a high degree of accuracy. It will also make difficult risk management calculations in the blink of an eye, much faster than a human trader. Not only that, but robots can be designed to trade around the clock and on different markets at once, meaning that you need not have to sit in front of your screen all day and all night.
In short, a Forex robot can take much of the hard work out of trading — that hard work is done beforehand — developing and testing the trading idea.
Limitations
Of course, there are no shortcuts to making money on the Forex markets and working with a Forex robot brings with it its own inherent limitations.
For one thing, Forex markets are fiercely competitive and coming up with a robot that is able to beat the market is a notoriously difficult thing to do.
Indeed, it is not enough to design a robot that works over a couple of weeks data, the robot must work over several months, if not years, of historical data and undergo rigorous statistical testing to prove that it works. Because if a trader cannot be confident that the robot works, they will more than likely abandon it when times get tough.
submitted by Rongpure1 to u/Rongpure1 [link] [comments]

Traders who make money only have better risk management ?

Hey
Just a quick thought about forex.
I've been trading forex manually and with EAs on demo + real (very small account) for something like 2/3 years in and out and I've been much more serious about it for the last couple of months.
I've tried hundreds of strategies and made my owns with python and mql4 with both machine learning and standard imperative programming but at the end the only parameter we can really master is the risk.
After writing thousands of lines of code and making my cpu red hot I strongly think that all indicators are just there to make a confirmation bias and traders who make money only have a better risk management (and stress management).
What's your thought about it ? Am I right/wrong ? why ?
People who have made EAs, is it working for you on the long run ?
submitted by fd70bec1d61aa4 to Forex [link] [comments]

The Best Forex Trading Strategies

The Best Forex Trading Strategies
Traders are in debate to what the simplest Forex trading strategies are for years. That debate is probably going to continue for several more years to return . What most of the people that are new Forex trading want to understand is what's the simplest and the way can we identify it because the best. i would like to first of all consider what a trading strategy is then check out two differing types and asses them both.
A Forex trading strategy or system is just a group of rules a trader will use to enter, exit and adjust his trade. The strategy may consider fundamental analysis, technical analysis or a touch of both. the solution to which is that the best can't be determined by simply watching the results of a technique but by watching the trader also . Psychology is that the single biggest issue traders' face when completing a winning or losing trade. the power to be ready to stick with your own rules during a losing or winning trade are often challenging. it's for this reason many traders will address automated trading systems to beat the psychological issues they're faced with. Auto trading using EA's has its benefits but it's a incontrovertible fact that markets are actually random which suggests a technique working today might not work tomorrow.
What a few mixture of both?
You could be the simplest analyst within the world and still be a terrible trader! what percentage times have you ever taken a trade with all of your analysis in your head then exited early or not taken the trade in the least . a standard scenario isn't taking the planned trade because you could not commit then taking a random trade that wasn't planned and losing. Sounds ridiculous once you read that scenario but it happens a day .
Imagine a system where you'll use your own analysis to line up a trade then use a trading system to require over and perform your settings so you did not have the Psychology to affect . Surely this is able to be the simplest Forex trading system. the great news is these trading systems are about but not many of us are giving them away. You could, however, have a program coded for you that takes trades supported your rules and eliminates the psychology. If you've got a system that works on a manual basis but only works with certain market conditions then this might be the simplest Forex trading strategy.
Adam discovered very early that trading forex required a significant approach so as for it to be of future profitability. Adam has now been trading for 12 years independently and using his hybrid strategy of automated and manual to form a significant take advantage of the Forex market and claims it because the best forex strategy.

https://preview.redd.it/6ggf8w682wr41.png?width=140&format=png&auto=webp&s=b0c225fe804151672cd29e946806bfab5a91cc08
submitted by learn2compound to u/learn2compound [link] [comments]

Kin Swap FAQ + Video Tutorials + Guides (Multiple Languages)

FAQs:

1) Do I need to swap?
Yes. Kin is migrating to its own Blockchain which will be the only system connected to their SDKs.
If you do not transfer your Kin you will be left with the ERC-20 tokens. The Kin Foundation claims there will be an on-going one way swap method manually via Kin's support staff in the future if you miss the swap window. We have no further details on how this process will work, how long it will take or if it will always be available. Kin ERC20 tokens will not be used in the main Kin blockchain, SDK or apps.
2) Can't I swap back?
No. The original plan was to have a programmatic 1:1 swap always available. This was abandoned.
This is a one-time swap. It is only available through exchange partners.
3) Do I need to swap my Kin if it is in an app like Kik, Kinit, Kinny, Swelly or MadLipz?
No. This Kin is being migrated for you.
4) Do I need to swap my Kin if I have it in an exchange?
Yes. If your exchange is not:
Or you were not previously holding Kin on:
Then you MUST move your Kin in order to swap it. It will not swap automatically.
5) Will other exchanges support the swap?
We don't know. The Kin documentation is unclear, and it seems unlikely based on the time constraints set. If they do, there is no guarantee that there will not be a fee.
6) Are their fees for the transaction?
Kin's documentation has said partners are not charging fees. There still may be network fees. You should talk to the customer support of each service before swapping if you are worried about fees.
7) If my Kin is in a wallet like Jaxx, MEW, Coinimi, etc do I have to swap?
Yes. You must manually swap.
8) Is there any way to swap that is not an exchange?
Yes. CoinSwitch and Changelly are technically not exchanges but also support the swap.
9) Is there anyway to swap that is not a third-party service?
No.
10) How much time do I have?
For the current exchanges you have until April 10th. (EST)
For CoinSwitch and Changelly you have until June 12th.
11) What happens after June 12th?
We have no idea. We are told there will be a manual swap method available for individuals who were unable to swap prior to that time. What this looks like is still unclear.
12) How do I swap?
Right now we are in Phase 2 of the swap, there are less options for swapping currently. You can see the Phase 2 guide here: http://nufi.io/how-to-swap-your-kin-with-p2pb2b/
13) Should I use FreeWallet, AtomicWallet or TrustWallet?
Both of those services come with risks. FreeWallet is centralized and is owned by HitBTC a controversial exchange commonly accused of scamming.
AtomicWallet requires running third-party software on your system.
Neither are ideal or recommended. If you are using a wallet you should consider buying a Ledger device, or Creating a Paper Wallet?. If neither of those are an option then you can use TrustWallet by Binance.
14) Which exchange is the safest?
That is a matter of personal opinion. Right now your only option is P2PB2B
15) Should I use CoinSwitch?
CoinSwitch is an unknown and fairly new team from India. The process of switching has been smooth for some people so far, but, it is worth proceeding with caution. Multiple virus scanners such as F-Secure and McAffee also suggest it is an unsafe site.
The main problem is that to use Changelly or CoinSwitch you must either manually set up your Ledger to support Kin, or use AtomicWallet or FreeWallet - which is not advisable.
16) When will I get my Kin?
If you use the instant switching from CoinSwitch or Changelly you should get the Kin3 within a few minutes.
If you use Lykke or LAToken you will get your Kin3 March 26th.
If you use any of the other exchanges you will get your Kin3 on March 21st.
For Phase 2 using P2PB2B you will get your coins on April 12th or 13th.
17) Is Trezor supported?
No.
18) If my Kin are in HitBTC do I need to do anything?
Technically no. But, HitBTC has very expensive withdraw fees and a pretty bad reputation. You should check out the guide below for other options.
19) If I am out of the country and away from my hardware wallet for 3-6+ months how will I deal with the swap?
This has been discussed with Kin support, they claim they will have a manual email service for people who are in this situation. No further information has been given at this time. It is unclear if any proof is required or what the process involves. It is unclear if the process is only for ICO holders.
20) What if I have Kin on Stellar from Stellarport etc?
Stellar assets like that are issued as "IOUs" from the Stellar Anchor you bought them at. They are not tokens. In theory, who ever sold you the IOU should have Kin1 tokens that they are holding in balance when issued. They should swap these tokens to Kin3 and provide you with a Kin3 IOU or the Kin3 itself. You will need to contact the support at your Stellar Anchor to confirm more.
21) Are more exchanges coming?
Yes. We know more exchanges are coming, but we have no idea when, or which exchanges.
22) I'm doing your tutorial on How to Build Manual Ledger Transactions but getting the error code op_no_destination?
This means the wallet you are trying to send to isn't activated yet. Wallets on Stellar don't get created when the keypair is generated, they get created by another wallet activating and funding them. You must use the operation "CreateAccount" rather than "Payment" when building the transaction.
23) I'm doing your tutorial on How to Build Manual Ledger Transactions but getting the error code Unsupported Media Type?
Most likely you are on the Kin test network and not the main network. Check the upper right hand corner of the lab and switch to the public network.
24) How do I transfer from MEW?
Simply follow either the How to Swap Kin with Exchanges (Beginners) or How to Swap Kin with Ledger (Advanced Users Only) but instead of sending from a Ledger send the tokens from your MEW wallet. If you choose to do the instant swap you'll need to have a Kin3 compatible wallet such as a paper wallet (How to create a Kin Paper Wallet/What is a Paper Wallet?)
24) I have other questions not answered here?
I've set up a specific Question Thread to better keep track of issues.
25) Where can I stay up to date on this stuff?
Since there hasn't been much official guidance, I've been tweeting about important updates as they develop. You can follow the account I set up here: @crypto_adamsc1

Guides:

International Guides:

Videos:

Kin FAQ in other languages:

submitted by AdamSC1 to KinFoundation [link] [comments]

The best EA's? Indices, Forex, Crypto

*Delete this if its not allowed, I looked through the rules and cannot see that it isn't, however I am new here so I may have missed something*
I have seen many posts regarding making your own algorithms in order to trade, unfortunately I don't have time currently to learn to code one with exams coming up.
Previously I have used forex EA's however they were martingale based and with the fx market being so volatile I have decided to pull out for the time being as the draw down was becoming quite high and was relying on the market swinging back.
So i was wondering if any of you could recommend the best EA's for trading in any kind of market in terms of low draw down and decent returns per month. Not on a martingale system though.
submitted by sxmuelsoffe to algotrading [link] [comments]

Simple trend oscillator EA

TLDR; Learn from scratch or pay to get a code to build off
I have a strategy I traded manually last semester on forex that netted me some gains. (Around 3 percent over 40 trades). Unfortunately I no longer have the tabulated results so take it as you wish.
The strategy only profited around 40 percent of the time at what was ideally a 2 to 1 risk. Problem is I can't really evaluate the efficacy for it because it took almost a couple of months to make those 40 trades on 1 min timeframes on forex pairs. Not to mention all the liberties I took exiting early.
I intend to try to make an EA out of this on MT4 so i can really test it in a truly mechanical environment and learn from the shortcomings/advantages of this strategy. But I am not proficient at coding, I only know abit of C++ and MATLAB. So I am considering either going at it myself or hiring someone to code it for me (Python -> ZMQ -> MT4).
Heres the strat: It might be stupid but I think there will be alot to learn watching it fail. https://drive.google.com/file/d/1gOuUCGjfqcvEmSfbI1REEUBN-UWlUf0J/view?usp=sharing
Basically, it uses ATR for the exit sizes, Bollinger band and MA crosses for entry and direction. If it closes out of the money it will wait until the MAs cross before entering a trade again. Only one trade will be opened at one time. This is a pretty vanilla idea that can be found all over the internet tbh. But I want to see how and why it wouldn't work.
Will this be too difficult of a maiden project on MT4? Should I learn and build off of a sample code instead?
submitted by hng017 to algotrading [link] [comments]

How to get started in Forex - A comprehensive guide for newbies

Almost every day people come to this subreddit asking the same basic questions over and over again. I've put this guide together to point you in the right direction and help you get started on your forex journey.

A quick background on me before you ask: My name is Bob, I'm based out of western Canada. I started my forex journey back in January 2018 and am still learning. However I am trading live, not on demo accounts. I also code my own EA's. I not certified, licensed, insured, or even remotely qualified as a professional in the finance industry. Nothing I say constitutes financial advice. Take what I'm saying with a grain of salt, but everything I've outlined below is a synopsis of some tough lessons I've learned over the last year of being in this business.

LET'S GET SOME UNPLEASANTNESS OUT OF THE WAY

I'm going to call you stupid. I'm also going to call you dumb. I'm going to call you many other things. I do this because odds are, you are stupid, foolish,and just asking to have your money taken away. Welcome to the 95% of retail traders. Perhaps uneducated or uninformed are better phrases, but I've never been a big proponent of being politically correct.

Want to get out of the 95% and join the 5% of us who actually make money doing this? Put your grown up pants on, buck up, and don't give me any of this pc "This is hurting my feelings so I'm not going to listen to you" bullshit that the world has been moving towards.

Let's rip the bandage off quickly on this point - the world does not give a fuck about you. At one point maybe it did, it was this amazing vision nicknamed the American Dream. It died an agonizing, horrible death at the hand of capitalists and entrepreneurs. The world today revolves around money. Your money, my money, everybody's money. People want to take your money to add it to theirs. They don't give a fuck if it forces you out on the street and your family has to live in cardboard box. The world just stopped caring in general. It sucks, but it's the way the world works now. Welcome to the new world order. It's called Capitalism.

And here comes the next hard truth that you will need to accept - Forex is a cruel bitch of a mistress. She will hurt you. She will torment you. She will give you nightmares. She will keep you awake at night. And then she will tease you with a glimmer of hope to lure you into a false sense of security before she then guts you like a fish and shows you what your insides look like. This statement applies to all trading markets - they are cruel, ruthless, and not for the weak minded.

The sooner you accept these truths, the sooner you will become profitable. Don't accept it? That's fine. Don't bother reading any further. If I've offended you I don't give a fuck. You can run back home and hide under your bed. The world doesn't care and neither do I.

For what it's worth - I am not normally an major condescending asshole like the above paragraphs would suggest. In fact, if you look through my posts on this subreddit you will see I am actually quite helpful most of the time to many people who come here. But I need you to really understand that Forex is not for most people. It will make you cry. And if the markets themselves don't do it, the people in the markets will.

LESSON 1 - LEARN THE BASICS

Save yourself and everybody here a bunch of time - learn the basics of forex. You can learn the basics for free - BabyPips has one of the best free courses online which explains what exactly forex is, how it works, different strategies and methods of how to approach trading, and many other amazing topics.

You can access the BabyPips course by clicking this link: https://www.babypips.com/learn/forex

Do EVERY course in the School of Pipsology. It's free, it's comprehensive, and it will save you from a lot of trouble. It also has the added benefit of preventing you from looking foolish and uneducated when you come here asking for help if you already know this stuff.

If you still have questions about how forex works, please see the FREE RESOURCES links on the /Forex FAQ which can be found here: https://www.reddit.com/Forex/wiki/index

Quiz Time
Answer these questions truthfully to yourself:

-What is the difference between a market order, a stop order, and a limit order?
-How do you draw a support/resistance line? (Demonstrate it to yourself)
-What is the difference between MACD, RSI, and Stochastic indicators?
-What is fundamental analysis and how does it differ from technical analysis and price action trading?
-True or False: It's better to have a broker who gives you 500:1 margin instead of 50:1 margin. Be able to justify your reasoning.

If you don't know to answer to any of these questions, then you aren't ready to move on. Go back to the School of Pipsology linked above and do it all again.

If you can answer these questions without having to refer to any kind of reference then congratulations, you are ready to move past being a forex newbie and are ready to dive into the wonderful world of currency trading! Move onto Lesson 2 below.

LESSON 2 - RANDOM STRANGERS ARE NOT GOING TO HELP YOU GET RICH IN FOREX

This may come as a bit of a shock to you, but that random stranger on instagram who is posting about how he is killing it on forex is not trying to insprire you to greatness. He's also not trying to help you. He's also not trying to teach you how to attain financial freedom.

99.99999% of people posting about wanting to help you become rich in forex are LYING TO YOU.

Why would such nice, polite people do such a thing? Because THEY ARE TRYING TO PROFIT FROM YOUR STUPIDITY.

Plain and simple. Here's just a few ways these "experts" and "gurus" profit from you:


These are just a few examples. The reality is that very few people make it big in forex or any kind of trading. If somebody is trying to sell you the dream, they are essentially a magician - making you look the other way while they snatch your wallet and clean you out.

Additionally, on the topic of fund managers - legitimate fund managers will be certified, licensed, and insured. Ask them for proof of those 3 things. What they typically look like are:

If you are talking to a fund manager and they are insisting they have all of these, get a copy of their verification documents and lookup their licenses on the directories of the issuers to verify they are valid. If they are, then at least you are talking to somebody who seems to have their shit together and is doing investment management and trading as a professional and you are at least partially protected when the shit hits the fan.


LESSON 3 - UNDERSTAND YOUR RISK

Many people jump into Forex, drop $2000 into a broker account and start trading 1 lot orders because they signed up with a broker thinking they will get rich because they were given 500:1 margin and can risk it all on each trade. Worst-case scenario you lose your account, best case scenario you become a millionaire very quickly. Seems like a pretty good gamble right? You are dead wrong.

As a new trader, you should never risk more than 1% of your account balance on a trade. If you have some experience and are confident and doing well, then it's perfectly natural to risk 2-3% of your account per trade. Anybody who risks more than 4-5% of their account on a single trade deserves to blow their account. At that point you aren't trading, you are gambling. Don't pretend you are a trader when really you are just putting everything on red and hoping the roulette ball lands in the right spot. It's stupid and reckless and going to screw you very quickly.

Let's do some math here:

You put $2,000 into your trading account.
Risking 1% means you are willing to lose $20 per trade. That means you are going to be trading micro lots, or 0.01 lots most likely ($0.10/pip). At that level you can have a trade stop loss at -200 pips and only lose $20. It's the best starting point for anybody. Additionally, if you SL 20 trades in a row you are only down $200 (or 10% of your account) which isn't that difficult to recover from.
Risking 3% means you are willing to lose $60 per trade. You could do mini lots at this point, which is 0.1 lots (or $1/pip). Let's say you SL on 20 trades in a row. You've just lost $1,200 or 60% of your account. Even veteran traders will go through periods of repeat SL'ing, you are not a special snowflake and are not immune to periods of major drawdown.
Risking 5% means you are willing to lose $100 per trade. SL 20 trades in a row, your account is blown. As Red Foreman would call it - Good job dumbass.

Never risk more than 1% of your account on any trade until you can show that you are either consistently breaking even or making a profit. By consistently, I mean 200 trades minimum. You do 200 trades over a period of time and either break-even or make a profit, then you should be alright to increase your risk.

Unfortunately, this is where many retail traders get greedy and blow it. They will do 10 trades and hit their profit target on 9 of them. They will start seeing huge piles of money in their future and get greedy. They will start taking more risk on their trades than their account can handle.

200 trades of break-even or profitable performance risking 1% per trade. Don't even think about increasing your risk tolerance until you do it. When you get to this point, increase you risk to 2%. Do 1,000 trades at this level and show break-even or profit. If you blow your account, go back down to 1% until you can figure out what the hell you did differently or wrong, fix your strategy, and try again.

Once you clear 1,000 trades at 2%, it's really up to you if you want to increase your risk. I don't recommend it. Even 2% is bordering on gambling to be honest.


LESSON 4 - THE 500 PIP DRAWDOWN RULE

This is a rule I created for myself and it's a great way to help protect your account from blowing.

Sometimes the market goes insane. Like really insane. Insane to the point that your broker can't keep up and they can't hold your orders to the SL and TP levels you specified. They will try, but during a flash crash like we had at the start of January 2019 the rules can sometimes go flying out the window on account of the trading servers being unable to keep up with all the shit that's hitting the fan.

Because of this I live by a rule I call the 500 Pip Drawdown Rule and it's really quite simple - Have enough funds in your account to cover a 500 pip drawdown on your largest open trade. I don't care if you set a SL of -50 pips. During a flash crash that shit sometimes just breaks.

So let's use an example - you open a 0.1 lot short order on USDCAD and set the SL to 50 pips (so you'd only lose $50 if you hit stoploss). An hour later Trump makes some absurd announcement which causes a massive fundamental event on the market. A flash crash happens and over the course of the next few minutes USDCAD spikes up 500 pips, your broker is struggling to keep shit under control and your order slips through the cracks. By the time your broker is able to clear the backlog of orders and activity, your order closes out at 500 pips in the red. You just lost $500 when you intended initially to only risk $50.

It gets kinda scary if you are dealing with whole lot orders. A single order with a 500 pip drawdown is $5,000 gone in an instant. That will decimate many trader accounts.

Remember my statements above about Forex being a cruel bitch of a mistress? I wasn't kidding.

Granted - the above scenario is very rare to actually happen. But glitches to happen from time to time. Broker servers go offline. Weird shit happens which sets off a fundamental shift. Lots of stuff can break your account very quickly if you aren't using proper risk management.


LESSON 5 - UNDERSTAND DIFFERENT TRADING METHODOLOGIES

Generally speaking, there are 3 trading methodologies that traders employ. It's important to figure out what method you intend to use before asking for help. Each has their pros and cons, and you can combine them in a somewhat hybrid methodology but that introduces challenges as well.

In a nutshell:

Now you may be thinking that you want to be a a price action trader - you should still learn the principles and concepts behind TA and FA. Same if you are planning to be a technical trader - you should learn about price action and fundamental analysis. More knowledge is better, always.

With regards to technical analysis, you need to really understand what the different indicators are tell you. It's very easy to misinterpret what an indicator is telling you, which causes you to make a bad trade and lose money. It's also important to understand that every indicator can be tuned to your personal preferences.

You might find, for example, that using Bollinger Bands with the normal 20 period SMA close, 2 standard deviation is not effective for how you look at the chart, but changing that to say a 20 period EMA average price, 1 standard deviation bollinger band indicator could give you significantly more insight.


LESSON 6 - TIMEFRAMES MATTER

Understanding the differences in which timeframes you trade on will make or break your chosen strategy. Some strategies work really well on Daily timeframes (i.e. Ichimoku) but they fall flat on their face if you use them on 1H timeframes, for example.

There is no right or wrong answer on what timeframe is best to trade on. Generally speaking however, there are 2 things to consider:


If you are a total newbie to forex, I suggest you don't trade on anything shorter than the 1H timeframe when you are first learning. Trading on higher timeframes tends to be much more forgiving and profitable per trade. Scalping is a delicate art and requires finesse and can be very challenging when you are first starting out.


LESSON 7 - AUTOBOTS...ROLL OUT!

Yeah...I'm a geek and grew up with the Transformers franchise decades before Michael Bay came along. Deal with it.

Forex bots are called EA's (Expert Advisors). They can be wonderous and devastating at the same time. /Forex is not really the best place to get help with them. That is what /algotrading is useful for. However some of us that lurk on /Forex code EA's and will try to assist when we can.

Anybody can learn to code an EA. But just like how 95% of retail traders fail, I would estimate the same is true for forex bots. Either the strategy doesn't work, the code is buggy, or many other reasons can cause EA's to fail. Because EA's can often times run up hundreds of orders in a very quick period of time, it's critical that you test them repeatedly before letting them lose on a live trading account so they don't blow your account to pieces. You have been warned.

If you want to learn how to code an EA, I suggest you start with MQL. It's a programming language which can be directly interpretted by Meta Trader. The Meta Trader terminal client even gives you a built in IDE for coding EA's in MQL. The downside is it can be buggy and glitchy and caused many frustrating hours of work to figure out what is wrong.

If you don't want to learn MQL, you can code an EA up in just about any programming language. Python is really popular for forex bots for some reason. But that doesn't mean you couldn't do it in something like C++ or Java or hell even something more unusual like JQuery if you really wanted.

I'm not going to get into the finer details of how to code EA's, there are some amazing guides out there. Just be careful with them. They can be your best friend and at the same time also your worst enemy when it comes to forex.

One final note on EA's - don't buy them. Ever. Let me put this into perspective - I create an EA which is literally producing money for me automatically 24/5. If it really is a good EA which is profitable, there is no way in hell I'm selling it. I'm keeping it to myself to make a fortune off of. EA's that are for sale will not work, will blow your account, and the developer who coded it will tell you that's too darn bad but no refunds. Don't ever buy an EA from anybody.

LESSON 8 - BRING ON THE HATERS

You are going to find that this subreddit is frequented by trolls. Some of them will get really nasty. Some of them will threaten you. Some of them will just make you miserable. It's the price you pay for admission to the /Forex club.

If you can't handle it, then I suggest you don't post here. Find a more newbie-friendly site. It sucks, but it's reality.

We often refer to trolls on this subreddit as shitcunts. That's your word of the day. Learn it, love it. Shitcunts.


YOU MADE IT, WELCOME TO FOREX!

If you've made it through all of the above and aren't cringing or getting scared, then welcome aboard the forex train! You will fit in nicely here. Ask your questions and the non-shitcunts of our little corner of reddit will try to help you.

Assuming this post doesn't get nuked and I don't get banned for it, I'll add more lessons to this post over time. Lessons I intend to add in the future:
If there is something else you feel should be included please drop a comment and I'll add it to the above list of pending topics.

Cheers,

Bob



submitted by wafflestation to Forex [link] [comments]

EA trading with MT4

Hi All - new to this group, not to Reddit. I got into trading Forex with EA late last year and got addicted. I've written multiple EAs and continue to tinker with them in a never ending attempt of making them better for profit and limiting draw down as much as possible.
The reason I am posting today is to ask for some help on a problem I have noticed in my MT4 account. Whenever the EA opens a new order I insert my own comment value in there. Usually this is the version of the software e.g. "V1", "V2", "X" etc.
Currently I have the comment to be set to "M IV". However, just today I noticed that there are some orders open with the comment "X". Now the EA running on charts does not have comment "X" anywhere in the code. Comment "X" is a version I was using a couple of weeks ago but have since changed the EA.
Its as if some of the variables have retained a value from the older version of the EA. If thats the case the there may be other problems as well.
I have reset my VPS (deleting all old files)
Removed all EAs from the VPS ... except for the one I am currently using which should comment "M IV".
So question is why am I seeing comment "X" on some of the orders opened today? Curious to learn if others have come across this issue and how they resolved it.
https://preview.redd.it/a80ajysfmdo31.jpg?width=3888&format=pjpg&auto=webp&s=ee20c66f53c5cefb40505c664ec7422acb121843
submitted by abdurafiq to algotrading [link] [comments]

ZT:美元指数下跌至94.0附近 by magicknight3 on 2017-07-21

http://finance.sina.com.cn/money/forex/hbfx/2017-07-21/doc-ifyihmmm7834814.shtml
FX168财经报社(香港)讯 周四(7月20日)美市盘中,彭博有关一则有关特朗普“通俄门”特别检察官将扩大调查范围的报道掀起市场巨澜。据彭博报道,穆勒将调查特朗普的商业交易,并将扩大调查范围至其女婿库什纳和Manafort的交易。这一消息传出之后,美元与美股急跌,现货黄金则受巨量买单推动短线急剧拉升。除此之外,欧洲央行利率决议与行长德拉基的记者会也备受市场关注。德拉基表示将于秋季作出决定,这句话让欧元(1.1630, 0.0114, 0.99%)多头欣喜若狂,欧元/美元急涨约180点并一举突破1.16关口。
报道称特别检察官将扩大调查范围 美元急跌黄金受巨量买单提振急涨
在市场舒适走高之际,彭博一则有关特朗普“通俄门”特别检察官将扩大调查范围的报道掀起市场巨澜。据彭博报道,穆勒将调查特朗普的商业交易,并将扩大调查范围至其女婿库什纳和Manafort的交易。
外媒称特朗普“通俄门”特别检察官将扩大调查范围,美元指数(94.2424, -0.5722, -0.60%)短线下跌近百点直逼94关口。

(美元指数30分钟走势图,来源:FX168财经网)
非美货币普遍上扬,美元兑日元(111.69, -0.1900, -0.17%)和加元短线下挫扩大。美股标普500指数也闻声急剧下跌。

(图片来源:Zerohedge、FX168财经网)
现货黄金短线上扬扳回日内跌幅,一度突破1245美元/盎司。

(图片来源:Zerohedge、FX168财经网)
据报道,COMEX最活跃8月黄金期货合约在北京时间22:30-34五分钟成交量为7474手,交易合约总价值近9亿美元。
调查范围扩大可能会促使特朗普总统做出回应,隔夜他在接受纽约时报采访时表示,将调查扩大至俄罗斯之外将“会越界”。彭博还指出,代理人对有关塞浦路斯银行的交易感兴趣,美国商务部长罗斯在担任商务部长之前曾担任该行的副总裁。此外,代理人也对库什纳为其家族房地产所做的一些安全融资努力感兴趣。信息是由一名熟悉事件进展的知情人所提供,但其不便于公开发表讲话。

(图片来源:Zerohedge、FX168财经网)
市场人士认为,特朗普势将会做出激烈回应。
美国特别检察官正在调查特朗普去年竞选期间与俄罗斯之间的关联。据一位知情人士称,其正在调查包括特朗普商业以及其助手的交易。
该知情人士称,FBI调查员及其他调查人员正在检视俄罗斯在特朗普大楼中的公寓购买情况、特朗普在具有争议的Soho开发中的参与情况、2013年在墨西哥举行的环球小姐比赛以及特朗普在2008年将弗罗里达一处庄园出售给俄罗斯寡头的情况。
穆勒追踪金钱调查的根源在于发起去年的时任联邦检察官巴拉拉所发起的广泛的反洗钱调查。

(图片来源:Zerohedge、FX168财经网)
德拉基称将于秋季做出决定 欧元闻声急涨
周四,欧洲央行在会议结束之后宣布,管理委员会决定维持主要再融资利率在0.00%不变,维持存款工具利率在负0.40%不变,同时维持贷款工具利率在0.25%不变。
管委会预期,央行的主要利率将在较长时间内保持在目前水平,并且会远超过净资产购买的截止期限。
关于非传统的货币政策措施,央行管理委员会确认,当前每月600亿欧元的净资产购买计划将持续到2017年12月底,如有必要将持续更长时间,直到管委会看到通胀持续地向目标水准方向调整。
在进行净资产购买的同时,将把资产购买计划下到期债券收回的本金进行再投资。
如果前景变得不太有利,或金融状况与通胀持续调整的进展不符,管委会计划在规模和/或持续期限方面扩大该资产购买计划。
央行声明没有任何削减资产购买计划的线索,欧元多头铩羽而归,但在随后的新闻发布会上,德拉基称,管理委员会将在秋季做出决定,欧元又重拾动力,短线急剧拉升。
随后20:30,欧央行行长德拉基召开新闻发布会,自6月底以来,德拉基的鹰派基调支撑欧元强势上扬。“超级马里奥”的讲话往往会引发市场剧烈波动,因此被市场封为“反转之王”。果不其然,其讲话引爆了欧元的新一轮涨势。
德拉基表示,决策者仍在等待通胀追赶上经济复苏,他们因此将等到夏季过后再讨论削减刺激。这一句话让欧元多头倍受鼓舞。
德拉基称,欧元区经济复苏范围扩大,经济增长风险已大致平衡。但欧洲央行并未讨论减码情形,现在无法确定9月份究竟会发生什么,管委会不希望在信息不充分的情况下被迫做出决定,秋季决议时将首先重点检视通胀。
“我们终于正在经历强劲的复苏,我们只需等待薪资和物价迎头赶上,”德拉基在会后的新闻发布会上表示,“我们需要恒心、耐心并保持谨慎,因我们尚未到达那里。”
德拉基对经济前景的评估与6月份时颇为相似,当时他呼吁其同僚给刺激举措足够的时间来发挥作用。当前计划下的QE还剩不到半年时间即将到期,决策者们已经公开辩论他们或将于何时开始削减购债规模。
“虽然持续的经济扩张让我们有信心相信通胀将逐渐滑向目标水平,但其尚未转化为更强的通货膨胀动态,”德拉基称。“大规模的货币宽松政策仍有需要,以便潜在通胀压力逐步建立。”
德拉基的言论似乎与其三周前在辛特拉的立场转变相一致,当时他说,新的通货再膨胀的力量可以为“调整当前刺激的参数”提供空间,同时保持宽松在大致不变的水平。
在德拉基表示数据印证了欧元区经济的力度之后,欧元/美元触及逾一年高位1.1589,随后小幅回落,之后再次重拾涨势,突破1.16关口并触及2015年8月来最高点1.1630。

(欧元/美元30分钟走势图,来源:FX168财经网)
市场认为,德拉基讲话并未表现出足够的鹰派,欧洲央行仍需要时间去观察经济的运行状况。德拉基更为上策的选择是在8月份于美国杰克逊霍尔召开的全球央行年会上来表达欧银更为明确的立场。
此前市场认为欧洲央行或将小心措辞,避免发出过于鹰派的信号。整体来看,欧洲央行声明也好,最重磅的德拉基记者会言论也罢,没有释放打压欧元的信息,这对于欧元投资者可能就是一个好消息。
外汇分析网站ForexLive评论称,德拉基发布会措辞表明欧洲央行管委会对其货币政策组合效用具有相当的自信。
BK资产管理公司指出,市场并未将欧洲央行行长德拉基在新闻发布会的讲话视为鸽派立场,助推欧元走高。
德拉基还指出,他在辛特拉的讲话被过度解读。他称,有关通货再膨胀这个词已经讨论的足够多,但他还没有看到通胀趋势发生很大的转变。他表示,各国央行将2%作为通胀目标是合理的。应有耐心,不会改变目标。根据欧洲央行上个月公布的预期,2019年欧元区通胀均值料为1.6%。
经济学家们预计,有关经济政策前景首个官方决定将于9月宣布,届时管委会将举行政策会议并宣布经济前景预期。据知情人士称,欧洲央行职员已经在研究削减购债计划的多个选项,已为此做好准备。
NC金融服务集团经济学家Bill Adams指出,在欧洲央行今天公布的管委会声明中,最关键信息是每月600亿欧元的购债将至少持续至2017年底,这暗示出欧洲央行在2018年或以后只是逐步退出刺激政策,与之前PNC经济学家所提出“欧洲央行将在2018年开始逐步退出QE,并在2019年起开始实施加息政策”的预测观点相符。预测欧洲央行存款利率在2019年德拉基任期结束以前仍将维持负值。
submitted by robot301_03 to kfq [link] [comments]

Trading Strategies in Forex

Trading Strategies in Forex - I have collected a lot of special trading strategies and indicators for you here. You can download them for free from fx141. You can find the foreign exchange trading strategies or EA intelligent trading strategies that are suitable for you. These trading strategies are collected from the network. There are thousands of very many kinds of active codes. You can edit or write them yourself.
submitted by ubona3759 to u/ubona3759 [link] [comments]

Here is what an EA looks like for those who are wondering

Here is what an EA looks like for those who are wondering
For those of you wondering what an EA (forex automatic trading program) looks like and how it works, here is an example of one I've been working on today:

https://preview.redd.it/6egnrh5y5td21.png?width=1777&format=png&auto=webp&s=675718cb75f73b524ab37fb824689bfd76065ca7
What this particular EA does is tries to identify trends using a few indicators on two timeframes. It then outputs what it thinks of the market in the little panel you see on the top-right corner.

Right now it's saying USDCAD has a weak bearish trend, which makes sense as you can see on the left side of the chart there was a gradual decline yesterday which ended abruptly with the massive dump (that's the Powell interest rate announcement yesterday btw).

If this bot had been live trading, it would have jumped on the downward trend (first candle shown on the chart, roughly 1.32650) and rode it down until the trend turned around 1.31350 before bailing out with 130 pips profit.

Since then the pair has been floundering a bunch as the market hasn't figured out where it's going now. However it looks like it might start turning around and head up - that's what MACD is starting to suggest, the upward momentum is surpassing the downward momentum. So we're likely going to see a rally heading into next week. Because of this uncertainty, the bot would have stopped until it can clearly see a strong trend going.

EA's are very useful because:
  1. They will very quickly show you how good your strategy actually is. You set the rules and they go to work. If your strategy is shit and you've just been getting luck, you'll find out very quickly. If your strategy is good then the bot will make it better as it will be more precise in entering and exiting trades than you can.
  2. They run automatically. The EA will work in your sleep or while you are working or whatever. If your strategy is solid (see above point) then the EA will work 24/5 for you. You won't miss opportunities like you will manually trading.
On this flip side, EA's can be risky because:
  1. If your strategy is bad, the EA will be bad. It likely wreck your trading account if you don't code it properly.
  2. If the coding is bad, you are beyond fucked. Even if the strategy is sound, if it wasn't coded properly or you didn't account for certain edge cases, consider your trading account a write off.
  3. If the computer powering the EA loses poweinternet connectivity/whatever, then it won't be running. That can result in lost opportunities but it's not the end of the world.
  4. Because EA's generally rely solely on technical analysis, they are always lagging behind. They will be a little late to jump on the trend wagon, and they will be a little late to jump off it. So while in the above example the bot would likely have made 130 pips, a human who was using a similar strategy would likely have jumped on earlier and gotten out earlier and probably hit around 150-160 pips profit.

Anyways, this is what an EA looks like. Happy thursday :)

EDIT:

Update as of Friday morning. After doing some more work on it after I posted this yesterday I set the bot live. It identified the entry conditions on GBPCAD and placed a sell order (see the yellow box around the green candle in the screenshot below). At first the market started swinging upwards, but the overall daily trend was down so the bot held it's ground. This morning it's at 80 pips profit and still going strong:

https://preview.redd.it/z8ohpy5btyd21.png?width=1772&format=png&auto=webp&s=7e27928fb8b4ee1802cc5b0c2d992406e082c656



/Bob






submitted by wafflestation to Forex [link] [comments]

Total beginner starting the course Algotrading101 by Lucas Liew

I've noticed that there haven't been any Reddit reviews on Algotrading101 even though the course has positive reviews on google. The course was given for free a few years ago on Reddit, another reason I find it strange for there to be no reviews. Either the course is so good that no one wants to share the secret or nobody has made a profiting EA/bot from the course (obviously these are two extremes).
I'm a beginner in FOREX trading as well as programming, I've done a generic C++ course years ago and I've coded a bit in VBA (mainly learning only what I need for my job; loops is probably the most complicated coding I've done). I've read a few articles here and there on INVESTOPEDIA about FOREX, however, I am not yet familiar with all the abbreviations and key words.
I will delve into the course for the next few months. I will update this post weekly/monthly depending on how much time I have. I am committing myself by posting this here! Wish me luck and profit :)
submitted by Mein_Intellect to algotrading [link] [comments]

Removed comments/submissions for /u/MortonSaltIsAwesome

Hi MortonSaltIsAwesome, you're not shadowbanned, but 2 of your most recent 100 comments/submissions were removed. They may be removed automatically by spam filters and not necessarily by human moderators.
Comment in Forex, "Anyone into EA creation?", 1pts (15 Mar 19):
Do you currently have a profitable strategy? Because an EA builder just automates strategies, Molanis or whatever isn't going to make a difference, they're just GUI interfaces for generating the code....
Comment in homelab, "I got a steal at an auction. The R720 was mislabeled as a...", 21pts (11 Mar 19):
Usually business, education, and government surplus. People use GovDeals.com on here, but I'm still a fan of the local auctions you can go to that don't have a hundred people f...
I'm a bot. My home is at /CommentRemovalChecker - check if your comments/submissions have been silently removed!
submitted by MarkdownShadowBot to CommentRemovalChecker [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]

Best FOREX ROBOT Ever 2019. $100 to $50,000 in a month ... Hidden Scalping Code - No Repaint Indicator! Best Scalping EA for Free download Full with source code ... Forex Algorithmic Trading Course: Learn How to Code on ... How to build an Expert Advisor without coding - YouTube Free Scalping EA Download 2018 100% working with small ... Coding Forex: Forcing Code to Run Only Once Per Candle ... Writing a MetaTrader Indicator Step by Step - YouTube Forex EA - Automatic Stop Loss and Take Profit in MT4 ... EA Selbst Programmieren (Schritt 1 - Einführung)

Since most Forex trading strategies contain common elements: opening positions, closing positions, trailing stops, signals, etc. generator creates Expert Advisor, Script or Custom Indicator with those common components for trading Forex markets. Press Generate menu and your EA, Script or Custom Indicator is ready. Test your ideas before you hire someone to program Expert Advisor, Script or ... FX Market Code Indicators. MarCo. Marco is the indicator that runs through the price. It does 2 things for us: 1. Trend: It identifies the overall trend direction, this is the direction we want to trade. 2. Pullbacks: It identifies the pullbacks within the trend and then identifies when the trend resumes, giving us entry signals. There is a Blue line that runs through the price. This is the 50 ... Forex “B.i.n.a.r.y. C.o.d.e. indicator – this is a mathematical model of forex and stock market behavior. Indicator is represented as B.i.n.a.r.y. C.o.d.e. The B.i.n.a.r.y. C.o.d.e. – a way of representing data in a discharge in a combination of two characters,Binary Code Indicator usually denoted by numbers 0 and 0 – is a bear data movement 1 – is a bull data movement Binary Code ... The Ranger Forex EA V3.5 is 7X more profitable than V1 and is the best EA we've ever created with over 13 years of profitable backtest trading history. It's been in development for over 6 years. It looks for the best range trading opportunities using a 2 indicator combination system. The Ranger Forex EA V3.5 can make profit every single month and has had only over 11 months of profitable ... Top 30 Ranking – Best Forex EA's – Expert Advisors – FX Robots. Dear fellow Forex trader, View the Best Forex EA’s, reviews and proven results and select the best FX Expert Advisors for Metatrader 4 (MT4) or Metatrader 5 (MT5) trading platforms for your needs.. This is our Top 30 Ranking of the Best Forex Robots, which will earn you lots of money! One year ago my journey with EA Studio began when you were kind enough to offer me a 30% discount off the retail price. Now a year later I'm pleased to say that after a few hiccups I'm successfully trading the forex markets with bots generated with EA Studio, making profit nearly every week! The forex EA generator is the tool you need to create real money-making robots without ever worrying about any complicated lines of code. It’s the world’s first forex advisor generator that has been developed with the needs of traders in mind. FX Source Code Conclusion. I am not going to recommend the FX Source Code Forex robot. I am not impressed by the website, the video, the results and by the overall lack of information about this Forex robot. I don’t plan on testing the system but I will watch its progress and see what the Forex community has to say. Forex trading is so difficult and we will help you to be able to choose the Best Forex EA’s according to your needs. A lot of forex traders spend years of trading forex with almost no success, but we provide a proven track of records to ensure that these FX Robots will really help to improve your trading success. For a long period, we professionally research the Forex automated trading market. Over the years, we have gained experience that we systematically share with you in our reviews. Choosing an EA is a very important procedure, as it involves using it on a real account in order to make money. In the table, we have put together the ratings and results of the best trading robots performing.

[index] [13980] [7758] [218] [22908] [27864] [14831] [6590] [19880] [15678] [10717]

Best FOREX ROBOT Ever 2019. $100 to $50,000 in a month ...

The source code for this video can be downloaded from Orchard Forex https://www.orchardforex.com/indicator-step-by-step/ This is a follow along video, taking... #Mt4 #AutoTradingSignalSoftware #Binary #IQ option #best ea free download I hope you video help you in your trading... Please Subscribe http://bit.ly/2DBZhzv... Das heißt, der EA wird am Ende eine Buy-Position eingehen (und eine eventuell bestehende Sell-Position schließen), wenn ein kürzerer Gleitender Durchschnitt (Moving Average/MA) einen längeren ... Forex Turbo Drive is an EA from 2010 trying to make a come back. This is definitely new territory. http://forexrobotnation.com/hidden-scalping-code-scam-revi... Easy way to build your own Expert Advisor without knowing how to code; in a few simple steps you will get your EA done. Can use own indicators, or any indica... Hello this is the recorded session of http://softforforex.ru/ I request programers to make same EA and post in comment to help peoples so that no one by any ... Forex EA For Automatic Stop Loss and Take Profit in MT4. Download Link: http://bit.ly/EA-SL-TP How to set automatic Stop loss and Take profit with every trad... Register for the full course here: https://rebrand.ly/ForexAlgo Follow me on Instagram: https://www.instagram.com/Mohsen_Hassan Join our Discord room here ht... Free Scalping EA Download 2018 100% working with small capital - YouTube. Free Scalping EA Download 2018 100% working with small capital. Watch later. Share. Copy link. Info. Shopping. Tap to ... Mql4 Progamming Tutorials and Forex Trading Training. https://learnmql4.com Jimdandy Trade Management Tool.. https://www.mql5.com/en/market/product/11862 Ski...

https://binaryoptiontrade.nanighpepedtio.tk