Support Board
Date/Time: Mon, 21 Apr 2025 15:29:26 +0000
Post From: How to change trade twconfig based on ATR range values
[2025-02-26 17:01:15] |
fried4104 - Posts: 75 |
Hello again, I've been using this successfully for some time now. However I have a problem. I want to execute and use this directly on the DOM. The DOM does not have the Spreadsheet System for Trading study, only Spreadsheet Study, which unfortunately with the same settings, does not work (shows #NAME? instead the value of the current twconfig). These are my settings which select the twconfig based on the ATR O3
=if(and(ID16.SG1@3>=0.2,ID16.SG1@3<1.20),"5-120",if(and(ID16.SG1@3>=1.20,ID16.SG1@3<1.65),"6-165",if(and(ID16.SG1@3>=1.65,ID16.SG1@3<5),"10-500",if(and(ID16.SG1@3>=5,ID16.SG1@3<14),"15-1400",no_trading)))) J112 =concatenate(O3,".twconfig") Thanks! |