- Search Crypto Craft
- 360 Results (52 Threads , 308 Replies )
- chimoong replied Mar 9, 2024
Of course, keep on adding 10.
- chimoong replied Mar 9, 2024
I managed to get a solution by myself. The original loop is as follows, it calculates the values of 28 bars (mxShf=27) first only then to start calculating the next scSym, which is totally wrong. for(int g=0; g<ArraySize(trTF); g++) { for(int h=0; ...
- chimoong replied Mar 9, 2024
Let me re-think again the logic of my loop. Thanks
- chimoong replied Mar 8, 2024
Could you please help to correct my codes so that all the 6 TFs would have respective correct values in the buffet ? Highly appreciated
- Need Help to get Total Stoch Values Correct
Hi coder, I'm learning coding. The attachment is my newly created EA. My mission is to get 6 ...
- chimoong replied Mar 8, 2024
Hi coder, I'm learning coding. The attachment is my newly created EA. My mission is to get 6 symbols' total Stoch values into a buffer (sumSto[][6]) for 6 different TFs, and to call out the results by using a Comment. The problem now I'm facing is ...
- chimoong replied Mar 5, 2024
Hi BestTraderEv, if I use ChartSetSymbolPeriod, how to do the "repeating job" within the the loop (by referring to your post at url ) ? By activating the ChartSetSymbolPeriod, it took a few seconds to complete the re-initialization, then to do the ...
- chimoong replied Mar 5, 2024
Hi BestTraderEv, is there any Command function to make my EA to restart / re-initialise on next new day automatically (I already searched the MQL5, but I cannot find such command) ? Thanks
- chimoong replied Mar 3, 2024
Hi codemaster75, thanks for your input. A coder had given me some codes and I modified them a little bit. Originally, I thought I need to create a flag to deal with ChartSetSymbolPeriod, but in fact no need. Yes, I agree that OnTimer "may" be better ...
- chimoong replied Mar 3, 2024
From my interpretation and understanding about OnInit() function, it works like "restarting the EA / MT4 terminal again", if I'm right, is okay for me as all the codes have been properly written. My intention is to switch symbol but not to switch ...
- chimoong replied Mar 2, 2024
Thanks for your explanation
- chimoong replied Mar 2, 2024
Another question : you're using _Symbol!=symbolForWeekdays but in my opinion it should use ChartSymbol!=symbolForWeekdays, because my EA is a multi-symbols trading program, I only need to load it onto one single chart symbol (e.g. EURUSD), but it ...
- chimoong replied Mar 2, 2024
Hi BestTraderEv, thank you very much for your EA. Noted with thanks for your explanation. I'll study further how to fully utilise your kind codes.
- chimoong replied Mar 2, 2024
Yes, you're right, it switched chart symbol, my apology. I put your codes to a script, it popped-out a message "Do you really want to stop script" ? Why the script is an ongoing process, due to what reason(s) ?
- chimoong replied Mar 2, 2024
Hi BestTraderEv, thanks. I think your codes are just to "print info" only but not the "instuction / command codes" to change the "EA loaded chart" to different symbol, am I right ? FYI, if I don't trade crypto, of course, I'll switch off my PC on ...
- chimoong replied Mar 2, 2024
Hi BestTraderEv, my broker's crypto symbols are running 24/7, but not 24/5, therefore I'll give a "instruction codes" on Friday before 23:30 (server time) to switch the EA loaded chart to BTCUSD so that there are tick activity during the day 0 or 6. ...
- chimoong replied Mar 2, 2024
How to deal with ChartSetSymbolPeriod ? Hi coder, please help. I have a "Multi-symbols EA" trading both forex currency (running 24/5) and crypto (running 24/7) pairs. I normally load the EA onto EURUSD D1 chart as the EURUSD is normally the highest ...
- How to deal with ChartSetSymbolPeriod?
Hi coder, please help. I have a "Multi-symbols EA" trading both forex currency (running 24/5) and ...
- chimoong replied Feb 29, 2024
Thanks BlueRain, good input. Your method is for the case if the user spcifically writes integer values in the array, then it should be okay :- int TF[9]={1,5,15,60,240,1440,15,30,60}; However for my case, I would like to write an array that with ...
- chimoong replied Feb 29, 2024
A coder replied me, has to write below 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; ...