TradingView
JustUncleL
22 paź 2016 22:02

[STRATEGY][UL]Price Divergence Strategy v1.0 

Euro Fx/Japanese YenFXCM

Opis

Created by Request: This is a trend trading strategy that uses Price Divergence detection signals that are confirmed by the "Murrey's Math Oscillator" (Donchanin Channel based).

Strategy Code Based on:
  • [RS]Price Divergence Detector V2 by RicardoSantos
  • UCS_Murrey's Math Oscillator by Ucsgears

Strategy Risk Management Based on:
  • Strategy Code Example by JayRogers

Information on Divergence Trading:



*** USE AT YOUR OWN RISK ***

Informacje o Wersji

Converted to Pinescript v4
Komentarze
sharaaU7
thanks a ton sir really appreciate love your work so trader focused ! :)
strategygame
This is a very nice indicator.
Is it repaint?
Unh00ked
Does this repaint?
optionnewbie88
@Unh00ked, Heavily.
usasuxsoasu
@crypto100xx, can you fix it?
twingall
Thanks for this. One issue, the compiler thinks the trailing offset set to zero means zero (not na).. thats why all your your buy exits shown above are happening at precisely the high of the candle.
Ajay_Singh27
@twingall, Man Can you tell me how to fix that I am trying to automate this Strategy
grezniy
Repaining sh!t, dont waste your time
EshwarEquity
hi thanks for this wonderful code
plz help me with this i am changing this entire code to version 4 i done but i couldn't know how to do the below code (part of the your entire code)

// ||••> START FISHER FUNCTION
f_fisher(_src, _window)=>
_h = highest(_src, _window)
_l = lowest(_src, _window)
_value0 = .66 * ((_src - _l) / max(_h - _l, .001) - .5) + .67 * nz(_value0[1])
_value1 = _value0 > .99 ? .999 : _value0 < -.99 ? -.999 : _value0
_fisher = .5 * log((1 + _value1) / max(1 - _value1, .001)) + .5 * nz(_fisher[1])
// ||<•• END FISHER FUNCTION

it says
Add to Chart operation failed, reason: line 69: Undeclared identifier '_value0';
line 71: Undeclared identifier '_fisher'

as of my knowledge "_value0" and "_fisher" has no input value before so it shows that error .. how can i break this
plz help me i am not a coder
LuchoTrader76
@JustUncleL Is there a way to run this on futures? It seems that it only allows trades on equities. Thank you!
Więcej