Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
This is agreat course. I went through the lessons until the first custom indicator. I have some understanding, but not thorogh. I hope in due course I will get the hang of it. THANK YOU CODEGURU for putting together this course.
I tried to convert one of my simple indicator from mql2, but there is something wrong. Can you check it?
This is agreat course. I went through the lessons until the first custom indicator. I have some understanding, but not thorogh. I hope in due course I will get the hang of it. THANK YOU CODEGURU for putting together this course.
I tried to convert one of my simple indicator from mql2, but there is something wrong. Can you check it?
#property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Red #property indicator_color2 Blue //---- buffers double ExtMapBuffer1[]; double ExtMapBuffer2[];
//---- //int ExtCountedBars=0; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { //---- indicators SetIndexStyle(0,DRAW_LINE); SetIndexBuffer(0,ExtMapBuffer1); SetIndexStyle(1,DRAW_LINE); SetIndexBuffer(1,ExtMapBuffer2); string short_name = "2PROC"; IndicatorShortName(short_name); //---- return(0); } //+------------------------------------------------------------------+ //| Custor indicator deinitialization function | //+------------------------------------------------------------------+ int deinit() { //----
//---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int start() { int pos; int counted_bars=IndicatorCounted(); //---- check for possible errors if(counted_bars<0) return(-1); //---- last counted bar will be recounted if(counted_bars>0) counted_bars--;
pos=Bars-counted_bars;
//---- main calculation loop while(pos>=0) { // ----Main loop
I am very new to metatrader and know very little about programing. I was looking for info on programming in metatrader. And came across your course (which made me decide to join). I look forward to learning from your course and your posts!!! Thanks again!
I am very new to metatrader and know very little about programing. I was looking for info on programming in metatrader. And came across your course (which made me decide to join). I look forward to learning from your course and your posts!!! Thanks again!
JN75,
You're welcome!
I hope you find it a useful place.