Vostro - VST

Category: Indicators By: Nicolas Created: October 10, 2017, 1:39 PM
October 10, 2017, 1:39 PM
Indicators
6 Comments

The VOSTRO indicator is a trend indicator that automatically provides buying and selling signals. The indicator marks in a window the potential turning points. The indicator is recommended for scalping.

The Vostro indicator determines the overbought zones (value greater than +80) and the oversold zones (less than the -80 level)

BUY signal: The Vostro curve moves below the -80 level and forms a trough – Turnaround of the upward trend

SELL signal: The Vostro curve moves above the +80 level and forms a peak – Downward trend

(description found on the web, conversion from MT4 code by a request in the english indicator section).

//PRC_Vostro VST | indicator
//10.10.2017
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge
//converted from MT4 version 

//--- settings 
//scalping = 1 //1=true / 0=false
//--- end of settings 

if scalping then 
 period156=100
else
 period156=300
endif

if barindex>period156 then 

 gd120=summation[5]((high+low)/2)
 gd128=gd120/5

 gd120=summation[5](high-low)
 gd136=0.2*(gd120/5)

 ibuf116=(low-gd128)/gd136
 ibuf112=(high-gd128)/gd136

 if(ibuf112>8.0 and high>average[period156,2](medianprice)) then 
  ibuf108=90
 else
  if(ibuf116<-8.0 and low<average[period156,2](medianprice)) then
   ibuf108=-90
  else
   ibuf108=0
  endif
 endif

 if ibuf112>8 and ibuf112[1]>8 then
  ibuf108=0
 endif
 if ibuf112>8 and ibuf112[1]>8 and ibuf112[2]>8 then
  ibuf108=0
 endif
 if ibuf116<-8 and ibuf116[1]<-8 then
  ibuf108=0
 endif
 if ibuf116<-8 and ibuf116[1]<-8 and ibuf116[2]<-8 then
  ibuf108=0
 endif
endif

return ibuf108 coloured(0,0,255) style(line,2) as "Vostro", 80 coloured(255,0,0) style(dottedline,1) as "level 80", -80 coloured(255,0,0) style(dottedline,1) as "level -80"

Download
Filename: PRC_Vostro-VST.itf
Downloads: 284
Nicolas Master
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

Logo Logo
Loading...