- Search Crypto Craft
- 424 Results (71 Threads, 353 Replies)
-
How to detect a Ranging Condition
Started Dec 9, 2021|Platform Tech|10 replies
Hi coders Could you please share your codes to detect a ranging condition by using loops / ...
-
chimoong replied Dec 5, 2021Thousands of thanks for your kind help. Yes, I just realised that the latest code is the solution (start from MAStrSf to get MAEndSf), tested, the right final solution, thanks again. Honestly, due to non-programming background for myself, I tried to ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 4, 2021Hi FxAnalysis, thanks for your efforts to provide the solution, unfortunately my broker is now under maintenance, no crypto market now and it will resume in a few hours later and I'll test it later. Oops, your codes start from MAEndSf to look for ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 4, 2021Why output is yet 0 || 0 despite there are yet 600 bars to run ? From my understanding about your codes, kindly look below :- 。 。 。 else { checkStart=false; cnGrn=0; MAStrSf=0; MAEndSf=0; break; } Please look at pic url , if at shift "A" found out ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 4, 2021Hi forex-wolf, thanks for your interest. Basically, what I want is reflected in these posts and pics : 1) post url and pic url 2) post url and pic url Kindly study, thanks I have two conditions of loops that needed to merge for a bull trend ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 4, 2021Noted with thanks. If you want to test by yourself on the codes, you may sign up a demo account at ACY Securities, AdmiralMarkets, Axiory, Swissquote, CMTrading, Easy Markets, Forex.com, FxOpen, FxPrimus, Hugo's Way, ICMarkets, IG, InstaForex, ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 4, 2021Just tested your new codes, the output is yet 0 || 0, somewhere is incorrect. I have added int minGrn=3, this is the minimum strong green bars expected, of course, it can be 4, 5, 6 or more strong green bars in a bull trend. I have changed the ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 4, 2021Hi Fxanalysis, thanks for your weekend time, highly appreciated. It is weekend now, only crypto BTCUSD is live, just tested your codes. Crypto is in bear trend now and with 600 bars, I managed to get a complete bull set-up at shift 288 (MAStrSf) and ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 4, 2021Hi Fxanalysis, Refer to point (1) above and as per pic above url , I eased the signal conditions (minGrn=3 and Cs0-Op0>=ATR0*0.8), therefore these conditions are easily achievable for any trade by setting the max bars to 600, in other words, ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 3, 2021Hi Fxanalysis, I have changes to drop the signal conditions for my testing and observation purposes such as minGrn=3 and Cs0-Op0>=ATR0*0.8 (conditions are easily achievable). int minGrn=3; // (changed) int MAStrSf=0; int cnGrn=0; bool ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 3, 2021I use the two shifts (MAStartSf and MAEndSf) as my benchmark for trading decision making after confirmation of a strong bull trend ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 3, 2021Thanks Kafin, sorry, I don't really understand your "What information is this suppose to provide?". My original request is at my 1st post : url and all the information are here ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 3, 2021Hi Fxanalysis, thanks for your reply. I amended the codes as follows but with errors :- 1) I changed the name of MA2Dp1UpSf to "MAStrSf" 2) I added the following codes prior to "END OF TREND" text. if(cn==1 && checkStart){ checkStart=false; cnGrn=0; ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 3, 2021Hi Kafin, I cannot imagine how's your ideas, please go ahead to write down your codes and I'll test it, thank you.
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 3, 2021Hi skillz16, nothing to do with any indicators, the codes (2 sets of conditions of loops to be merged into one loop) are purely from my ideas / brain. It doesn't repaint as the 2 bars' shifts (MAStartSf and MAEndSf) are the past candles. I use the ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 3, 2021Hi Kafin, you're right, I have two conditions of loops that needed to merge for a bull trend :- 1) Start with 2 MA-drop and to the right, end with another 2 MA-drop. 2) In between the (1) above, there must be 4 minimum strong green bars ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 3, 2021Hi Kafin FxAnalysis' source codes are here url ... in fact, FxAnalysis' codes have met my requirements but I need a little bit of further mod / fine tune ... I'm the beginner without programming background, in learning stage. I have my ideas how ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Dec 3, 2021Hi Fxanalysis, for your codes, it is working well after testing for a few days, but I just noticed that there is one shortfall, if the bull trend is continuing (meeting the contiditions of 4 minimum strong green bars Cs0-Op0>=ATR0) but my chart is ...
Need Help : Merge 2 Loops into 1 Loop
-
chimoong replied Nov 25, 2021Hi Peterf, thanks for your codes. I think your codes should work by using a bool but need to fine tune a little bit. Your 1st loop starts with i-- but it should start with i++ as I need to get the latest "MA 2-Drop 1-Up" with a condition of minimum ...
Need Help : Merge 2 Loops into 1 Loop