Disliked{quote} I don't know if it works, but try using const in this way: const int sTF1=1; const int sTF2=5; const int sTF3=15; ...Ignored
int TF[9]={sTF1,sTF2,sTF3,sTF4,sTF5,sTF6,sTF7,sTF8,sTF9}; ?
I will code your pivot EAs for no charge 24 replies
I will code your scalping EAs for no charge 163 replies
Oanda MT4 - Indicators and EAs not showing 2 replies
EAs and indicators relating to moutaki... 22 replies
InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply
Disliked{quote} I don't know if it works, but try using const in this way: const int sTF1=1; const int sTF2=5; const int sTF3=15; ...Ignored
Disliked{quote} Thanks for your response. Sorry, I don't understand, how to write the "const int sTF1=1 ... " into the array int TF[9]={sTF1,sTF2,sTF3,sTF4,sTF5,sTF6,sTF7,sTF8,sTF9}; ?Ignored
Disliked{quote} Not in the array, I mean here: // User Input Variables const int sTF1=1; const int sTF2=5; const int sTF3=15; ... just try, I don't know if it will workIgnored
Dislikedint Array Issue Hi coders, hope you can help. I fully understand that the contents of an integer Array must be integer figures, no worry. I intend to have 9 types of TFs and will only need to control on the User Input Variables, any changes on the 9 "int sTF=xx;" by the user will automatically to reflect in the whole EA's TFs, therefore the user will not need to manually change inside the body of the EA's codes. I would like to check with coder is there any coding way to achieve such mission ? Thanks. // User Input Variables int sTF1=1; int sTF2=5;...Ignored
// User Input Variables int sTF1=1; int sTF2=5; int sTF3=15; int sTF4=60; int sTF5=240; int sTF6=1440; int sTF7=15; int sTF8=30; int sTF9=60; // Inside the body of a function block int TF[9] TF[0]=sTF1; TF[1]=sTF2; TF[2]=sTF3; TF[3]=sTF4; TF[4]=sTF5; TF[5]=sTF6; TF[6]=sTF7; TF[7]=sTF8; TF[8]=sTF9;
Disliked{quote} Thanks George, means has to be in this way :- // User Input Variables int sTF1=1; int sTF2=5; int sTF3=15; int sTF4=60; int sTF5=240; int sTF6=1440; int sTF7=15; int sTF8=30; int sTF9=60; // Inside the body of a function block int TF[9] TF[0]=sTF1; TF[1]=sTF2; TF[2]=sTF3; TF[3]=sTF4; TF[4]=sTF5; TF[5]=sTF6; TF[6]=sTF7; TF[7]=sTF8; TF[8]=sTF9; This method is only suitable for small sized Arrays, but not suitable for bigger sized Arrays.Ignored
Disliked{quote} Thank you for all your hard work. Please share the indicator in the first line as you have prepared.Ignored
Disliked...if an indicator already exists (perhaps with code, so I can learn something!) that in real time draws me two segments above and two below the price...distance chosen by me in the inputs...Ignored
Disliked{quote} @BestTraderEv Hope you are fine. Pls are we making progress on this.Ignored
Disliked{quote} See attached for object creation, updating, positioning, styling, deleting. Gif- {file} {image}Ignored
Disliked{quote} @BestTraderEv Hope you are fine. Pls are we making progress on this.Ignored
Disliked{quote} Thank you very much. I really appreciate your help sir! Is there a way to show the price of the line too? ThanksIgnored
Disliked{quote} We have another problem - the Centered TMA repaints like crazy. When we see a cross between MA and TMA, it's in the past, because the TMA repainted. In reality, at the moment, there was no cross. Which means that we can not find the MA/TMA Band cross in any reasonable moment - only when the price is already gone. And the NRP Centered TMA version is no good, because it shows very different bands. So, in conclusion, we need something else in place of the TMA. Or, maybe I need to rethink how to code it in a different way... this takes time....Ignored
Disliked{quote} Thanks for the feedback. True, most of the indicators repaint BUT they complement each other progressively to produce profitable trading which is what I achieve daily with demo acct. When you discarded those indicators, something in me told me it was going to be a tough one for you but I decided to trust in your judgment. Even though they repaint, there is a combination of rules that must be met at the same time to indicate a VALID TRADE SETUP. Even long before the MA crosses, there is a set of conditions that those repainting indicators...Ignored