Currently I'm trying to make a script that allows me to input SL/Entry Price and it will automatically open a trade (a ton easier because I can let it calculate the lot sizes instead of me having to calculate it myself).
However, scripts do not seem to allow external values. Does anyone know if there's a possibility for this? I'm currently using an Expert Adviser that opens the trade on the Init() function. It's working fine except that I have to keep clicking on Live Trading to make it work and that's just effing annoying. If there's any way to make it so EAs don't need to have that live thingamagic clicked that would make me happy aswell.
I've looked at the thread where the buy/sell scripts are posted, but these seem to work only by modifying SL/Price in the script itself. I prefer using extern values because it's way easier instead of having to open/change/compile.
However, scripts do not seem to allow external values. Does anyone know if there's a possibility for this? I'm currently using an Expert Adviser that opens the trade on the Init() function. It's working fine except that I have to keep clicking on Live Trading to make it work and that's just effing annoying. If there's any way to make it so EAs don't need to have that live thingamagic clicked that would make me happy aswell.
I've looked at the thread where the buy/sell scripts are posted, but these seem to work only by modifying SL/Price in the script itself. I prefer using extern values because it's way easier instead of having to open/change/compile.