Floating Spread
Posted: Fri Jul 28, 2023 8:09 am
Hey Team, im Nemo, a budding pinescripter and below average trader lol
I have a general question about Floating Spread/Spread. What do people do to deal with Floating Spread? How do you manage automated trading where a Tradingview script has an alert with a fixed Spread input? Do you cancel the alert every so often and create a new alert with a new Spread?
My example here is;
I have a script that works fine, it is connected to MT4 via Pineconnector, everything there works fine, the signals are being generated, sent and received fine, I have the script running in Tradingview on USDSEK 1M through the Oanda broker and my MT4 is logged in to my Oanda demo account.
When the script generates a buy/sell signal at eg. 10.500 I have initially been letting the alert send a Market Order and found the price that MT4 enters at is off, generally above the price the script had, it has been a different price for every trade (I'm guessing this is to do with the bid/ask price which I am also still trying to get my head around).
When I let the alert send a Limit Order I find the price is still not in line with the scripts entry price, even with a 0.6 (I have tried many different number here) spread input.
After looking at the ticker specs in MT4 I came across the Floating Spread type and a bit of googling later I am confused as to how traders deal with Spread if it is constantly changing.
Any help here is greatly appreciated, all info will be gladly absorbed. Also big shout to Matt who has taught me everything I know so far with his fantastic content and lessons.
Nemo
I have a general question about Floating Spread/Spread. What do people do to deal with Floating Spread? How do you manage automated trading where a Tradingview script has an alert with a fixed Spread input? Do you cancel the alert every so often and create a new alert with a new Spread?
My example here is;
I have a script that works fine, it is connected to MT4 via Pineconnector, everything there works fine, the signals are being generated, sent and received fine, I have the script running in Tradingview on USDSEK 1M through the Oanda broker and my MT4 is logged in to my Oanda demo account.
When the script generates a buy/sell signal at eg. 10.500 I have initially been letting the alert send a Market Order and found the price that MT4 enters at is off, generally above the price the script had, it has been a different price for every trade (I'm guessing this is to do with the bid/ask price which I am also still trying to get my head around).
When I let the alert send a Limit Order I find the price is still not in line with the scripts entry price, even with a 0.6 (I have tried many different number here) spread input.
After looking at the ticker specs in MT4 I came across the Floating Spread type and a bit of googling later I am confused as to how traders deal with Spread if it is constantly changing.
Any help here is greatly appreciated, all info will be gladly absorbed. Also big shout to Matt who has taught me everything I know so far with his fantastic content and lessons.
Nemo