| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Coding for beginners - this is how Steve started https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=301 |
Page 6 of 7 |
| Author: | traderduke [ Wed Aug 01, 2012 6:44 pm ] |
| Post subject: | Re: Coding for beginners - this is how Steve started |
NT thanks for the suggestion, I'll give it a try.
|
|
| Author: | Big Be [ Tue Nov 13, 2012 5:22 pm ] |
| Post subject: | Re: Coding for beginners - this is how Steve started |
More Programming Student Tips I started several years ago as Steve did, with Coders' Guru lessons. I started a thread on TSD a while ago to further help programming students: Things Coders' Guru Never Taught Me http://www.forex-tsd.com/lessons/23721- ... ht-me.html Big Be |
|
| Author: | SteveHopwood [ Tue Nov 13, 2012 10:54 pm ] |
| Post subject: | Re: Coding for beginners - this is how Steve started |
Nice on Big Be. I have linked this in post 1. |
|
| Author: | traderduke [ Thu Nov 15, 2012 4:04 pm ] |
| Post subject: | Re: Coding for beginners - this is how Steve started |
NT or big be Is this the proper order for this current bar check??? Thanks for your help //--------------------------------- // Verify that a new bar appeared.| //--------------------------------- bool NewBar() { static int lastBars; if (lastBars != Bars) { lastBars = Bars; return(true); } else { return(false); } } //+------------------------------------------------------------------+ //| expert start function | //+------------------------------------------------------------------+ int start() { //return if not a new bar if (!NewBar()) return(0); the rest of the EA code??? [/quote] |
|
| Author: | Big Be [ Sun Nov 18, 2012 3:38 am ] |
| Post subject: | Re: Coding for beginners - this is how Steve started |
New Bar Check traderduke, That seems kind of complicated to me. I use this: datetime BarTime = 0; Start() { //Code// if(BarTime != Time[0]) { //Code to only run once at new bar// BarTime = Time[0]; } //Code// } It will work in any function. Big Be |
|
| Author: | jjasper7 [ Wed Oct 28, 2015 5:27 pm ] |
| Post subject: | Coding for beginners - this is how Steve started |
does anyone know of a code 'debuger' that is available to help follow down thru a program, perhaps stopping at set breakpoints, and allowing me to interrogate variables. it would sure help to be able to check 0ut new code, and follow the logic step by step. |
|
| Author: | jjasper7 [ Wed Oct 28, 2015 5:40 pm ] |
| Post subject: | Coding for beginners - this is how Steve started |
another stupid question... i have forgotten how to download a program. j just went to 'just made an ide for mql4' and i do not see the file(s) to download or instructions to activate the 'ide'. please guide me. |
|
| Author: | SteveHopwood [ Tue Dec 08, 2015 6:28 pm ] |
| Post subject: | Coding for beginners - this is how Steve started |
What a trip down memory lane reading this thread has been - I was minded to do so after sending a link to a member interested in getting started in coding. To think that I have been using Gary's CloseEnough() function for over three years. It only feels like yesterday that he introduced me to it. My memory tells me that I did not understand first time around as well. I see there have been a fair few downloads of the various zips around here. It would be great if people happily coding away for themselves these days got their start via CodersGuru here. |
|
| Author: | Lotuscode [ Wed Apr 20, 2016 7:47 pm ] |
| Post subject: | Coding for beginners - this is how Steve started |
Perfect info for a beginner. Thanks for sharing guys. |
|
| Author: | mcbusrider [ Sun Nov 06, 2016 8:42 pm ] |
| Post subject: | Coding for beginners - this is how Steve started |
Great resource for just starting out in MQL4 coding - thanks everyone! My background is amateur coder, coming to MQL4 from Python. I'd probably pitch myself at beginner to intermediate level nowadays. I've been messing around with the Oanda REST API for a couple of years and wrote a couple of scripts using the Oandapy Python wrapper module - here's the thread: http://www.stevehopwoodforex.com/phpBB3 ... =64&t=4286 Looking forward to getting stuck into MQL4! I'm wading through a JavaScript Full Stack course on Treehouse at the moment, this little baby is next on the list. The fog of confusion has been lifting of late, but by all accounts MQL4 should plunge me straight back into the mist... Happy coding! Nige |
|
| All times are UTC | Page 6 of 7 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|