Bid Ask Spread
Bid Ask Spread displays the bid and ask prices as two separate lines that visually represent the spread between the two. The user may change the input (open, close, high, low). This indicator’s definition is further expressed in the code given in the calculation below.
How To Trade Using Bid Ask Spread
No trading signals are calculated for this indicator.
How To Access in MotiveWave
Go to the top menu, choose Study>Overlays>Bid Ask Spread
or go to the top menu, choose Add Study, start typing in this study name until you see it appear in the list, click on the study name, click OK.
Important Disclaimer: The information provided on this page is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security. Please see our Risk Disclosure and Performance Disclaimer Statement.
Calculation
//input = price, user defined, default is close
//index = current bar number
switch(input) case HIGH: ASK = getAskHigh(index)); BID = getBidHigh(index)); break; case LOW: ASK = getAskLow(index)); BID = getBidLow(index)); break; case OPEN: ASK = getAskOpen(index)); BID = getBidOpen(index)); break; default: ASK = series.getAskClose(index)); BID = getBidClose(index)); break; end