Cookie Policy

Welcome, Guest
Username: Password: Remember me

TOPIC: Mogalef Bands code pro real time

Mogalef Bands code pro real time 24 Oct 2012 13:45 #1

  • remo
  • remo's Avatar
  • OFFLINE
  • Moderator
  • Posts: 2803
  • Thank you received: 5120
  • Karma: 111
CP=(open+high+low+2*close)/5
F=LinearRegression[3](CP)
E=std[7](F)
if barindex less than 8 then
Mediane = undefined
BandeHaute = undefined
BandeBasse = undefined
Else
BandeHaute = F+(E*2)
BandeBasse = F-(E*2)
if F less than BandeHaute[1] and F greather than BandeBasse[1] then
BandeHaute=BandeHaute[1]
BandeBasse=BandeBasse[1]
endif
Mediane =(BandeHaute+BandeBasse)/2
Endif
Return BandeHaute , Mediane , BandeBasse
Information Purposes Only, Do Your Own Research
remo
Last Edit: 24 Oct 2012 13:54 by remo.
The administrator has disabled public write access.
Moderators: remo

Time to create page: 0.277 seconds