Jump to content
  • 0

Close at market not spread with RealProTime


tmattias

Question

2 answers to this question

Recommended Posts

Hi @tmattias,  there are only two prices, the buy and the sell price and the amount between is the spread. The 'market' price on your chart (if 'price on chart' is set to Mid) is just the half way point between the buy and sell price.

Price on chart can be set to either Bid, Ask or Mid, if you have gone short (sell) then to get out of the trade you need to buy so when the buy price hits your stop the trade is closed though the mid price won't have reached the stop.

To see that on the chart the 'price on chart' needs to be set to Bid not Mid. Conversely, to get out of a long/buy trade the sell price must be hit and to see that on the chart the price on chart must be set to Ask.

Most people can't be bothered flipping back and forward so just leave the price set on Mid and accept that the price on the chart won't quite get there before closing the trade.

 

Link to comment

If yo talking about proorder you need to add or subtract more then half the spread

Example

If you want to buy if price (midprice) exceed the 5 bar high and the spread 1 point you need to add 0.6 like this

donh = HIGHEST[5](HIGH)+0.6* pipsize
 
IF NOT LongOnMarket AND c1 THEN
BUY 1 Contracts AT donh  STOP
ENDIF

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • image.png

  • Posts

    • In the wake of a brewing conflict between the Nigerian government and Binance, cryptocurrency enthusiasts find themselves on edge, uncertain about the future of their digital investments. Rumors abound that Binance, along with other platforms, might be exacerbating the Naira's devaluation against the dollar, prompting the government to take a hard stance against the exchange. Despite longstanding allegations of wrongdoing, recent events have propelled the government to escalate its actions. The situation has escalated dramatically, with Binance's P2P platform disabled and a staggering $10 billion fine imposed for alleged illegal activities. This punitive measure, coupled with last year's $4.3 billion fine by the SEC, underscores the gravity of the situation. However, skepticism lingers regarding the astronomical sum demanded by the Nigerian government. While Binance has faced regulatory challenges in other jurisdictions, its resilience and market dominance have largely endured. Yet, the potential ramifications of losing access to a key crypto market like Nigeria cannot be ignored. Complicating matters further, the Nigerian House of Representatives has summoned Binance CEO Richard Teng, issuing a seven-day ultimatum for him to address allegations of terrorist financing and money laundering, among other charges. This development casts a shadow over the future prospects of Binance in the country. Amidst the uncertainty surrounding Binance's operations in Nigeria, users are scrambling to identify alternative platforms. While other centralized exchanges (CEX) remain operational within the country, the pressing question remains: which platform will emerge as the most dependable alternative should the situation worsen? https://punchng.com/reps-summon-binance-boss-over-alleged-terrorism-financing/
    • 2024 has been a good year for crypto traders with signs of a bullish market prevailing. For the first time in 3 years, we are witnessing BTC set a new ATH repeatedly. If you endured the prolonged bear market of the previous years, you deserve these gigantic green candles! In addition to BTC's incredible run, several alts have broken out nicely; Ai, memecoin, GameFi projects and so on have spiked. Most notably in the month of February is the run of CEX tokens. According to Foresight News, centralized exchange tokens boast of a widespread price spike in February, based on data from ICO Analytics. Standing tall amongst many is BGB with 62% increase, while ASD, BNB, and KCS witnessed gains of 45%, 33%, and 22% respectively. As a BGB holder myself who’s been holding since June 2023 at an average price of $0.45, it’s been an incredible journey. I’ve witnessed it smash its ATH over again, the latest coming in February when BGB set a new ATH of $1.15. Aside the juicy ROI, BGB usecases have been a flex for me, granting me access to exclusive events, like Launchpads where I’ve also managed mouth-watering gains from my participations. BNB had a remarkable run in the last bull cycle, sadly I missed out having sold mine for peanuts. If you said I’m stoked to right my wrong with BGB this time, you wouldn’t be far from the truth!  Which CEX token(s) are you keenly observing?
    • Look at the transaction log to see why, Most of the time it's because your stop loss is set too close. 
×
×
  • Create New...
us