I found this function in a different thread.... How can I transfer this for this operate? When I put it in one and put it within a start function, it gives me errors... also, is there a way to do it without using a Global factors?
series Timeframe[] = PERIOD_M1, PERIOD_M15, PERIOD_M30, PERIOD_H1, PERIOD_H4
Thus I can check these timeframes for all symbols.... I need for it to save some data in a intrie array... one being as it hit a line on the chart (dynamic moving, but have indior for it).... And clocking that period between when hitting that line and another line... period being in minutes
I am wanting it to ascertain the greatest currency/timeframe mixtures based on some ratios in the storage data
As I would like to learn how to create each component dynamic I can think of when I proceed to EA #2, #3, #4, etc., that they're constructed dynamic and can be used by anybody as can be.... Figured it'd be good practice to not leave matters manual which can otherwise not be
Rewards is just another part of money/risk management... since this is already a composed function I found, thought it'd be helpful to incorporate into a library... when I learn how to put this in to a library, then it teaches the simple concept of moving all functions to a library and so eliminating the huge chunks of code to make it easier to see and read what's going on in the EA
I have done that using VBA programming.... I call the functions in the base code so it has hardly any lines... each bit of code is segmented and named so that I understand what it is doing easily and return and fix mistakes in that region.... I greatly appreciate the help in trying to get me up to speed with this... sorry if this is a huge deal... thought it was something little that could be shifted in that code to be used in a library https://www.cliqforex.com/attachment...2240002446.mq4
Would it be feasible for someone developing a library to have the ability to tell me this wasn't able to be compiled as a library so I could learn for the future? Thanks so far! I really like the help you guys are giving and I hope to be able to help others when I get a better grasp of the code and best practices for Foreign Exchange
Thank you.... Some of the stuff in the help files is greek so they don't good when I want something in layman's terms or that's not defined there... I could understand the greek after understanding the English first because I could matchup concepts to it... sorry that I ask a thousand questions, but it's extremely difficult to code my initial EA correctly without being able to question a seasoned programmer in this environment... Metatrader is new to me, and this programming language is new to me...