Force Relative de Mansfield on chart
Forums › ProRealTime forum Français › Support ProBuilder › Force Relative de Mansfield on chart
- This topic has 7 replies, 2 voices, and was last updated 1 year ago by supertiti.
-
-
02/28/2023 at 1:38 PM #210651
Bonjour à tous
Je vous joins le code de la force relative de Mansfield développé par Javier Alfayate un trader Espagnol.
Serait t’il possible de le transformer de façon à l’avoir sur le graphe prix (on chart).
Je joins le graphe de Amundi en daily
En vous remerciant
Bons trades à tous.
FORCE RELATIVE de123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231// FORCE RELATIVE DE MANSFIELD by Javier AlfayateREM Indicador realizado por Javier AlfayateREM administrador de Aguila Roja Sistemas deREM trading y autor de accionesdebolsa.com// FORCE RELATIVE MANSFIELDREM si vas a utilizar este código, no lo difundasREM sin autorización expresa de mi parte.REM este indicador está diseñado para los forerosREM y no es un código definitivo. Es necesaria laREM actualización de ciertos valores para suREM correcto funcionamiento.CountR=0i=51R= Close[i]/2065.300049CountR=CountR+Ri=i-1R= Close[i]/2057.139893CountR=CountR+Ri=i-1R= Close[i]/2046.609985CountR=CountR+Ri=i-1R= Close[i]/2052.320068CountR=CountR+Ri=i-1R= Close[i]/2099.060059CountR=CountR+Ri=i-1R= Close[i]/2099.129883CountR=CountR+Ri=i-1R= Close[i]/2096.070068CountR=CountR+Ri=i-1R= Close[i]/2071.219971CountR=CountR+Ri=i-1R= Close[i]/2037.410034CountR=CountR+Ri=i-1R= Close[i]/2102.949951CountR=CountR+Ri=i-1R= Close[i]/2129.899902CountR=CountR+Ri=i-1R= Close[i]/2161.73999CountR=CountR+Ri=i-1R= Close[i]/2175.030029CountR=CountR+Ri=i-1R= Close[i]/2173.600098CountR=CountR+Ri=i-1R= Close[i]/2182.870117CountR=CountR+Ri=i-1R= Close[i]/2184.050049CountR=CountR+Ri=i-1R= Close[i]/2183.870117CountR=CountR+Ri=i-1R= Close[i]/2169.040039CountR=CountR+Ri=i-1R= Close[i]/2179.97998CountR=CountR+Ri=i-1R= Close[i]/2127.810059CountR=CountR+Ri=i-1R= Close[i]/2139.159912CountR=CountR+Ri=i-1R= Close[i]/2164.689941CountR=CountR+Ri=i-1R= Close[i]/2168.27002CountR=CountR+Ri=i-1R= Close[i]/2153.73999CountR=CountR+Ri=i-1R= Close[i]/2132.97998CountR=CountR+Ri=i-1R= Close[i]/2141.159912CountR=CountR+Ri=i-1R= Close[i]/2126.409912CountR=CountR+Ri=i-1R= Close[i]/2085.179932CountR=CountR+Ri=i-1R= Close[i]/2164.449951CountR=CountR+Ri=i-1R= Close[i]/2181.899902CountR=CountR+Ri=i-1R= Close[i]/2213.350098CountR=CountR+Ri=i-1R= Close[i]/2191.949951CountR=CountR+Ri=i-1R= Close[i]/2259.530029CountR=CountR+Ri=i-1R= Close[i]/2258.070068CountR=CountR+Ri=i-1R= Close[i]/2263.790039CountR=CountR+Ri=i-1R= Close[i]/2238.830078CountR=CountR+Ri=i-1R= Close[i]/2276.97998CountR=CountR+Ri=i-1R= Close[i]/2274.639893CountR=CountR+Ri=i-1R= Close[i]/2271.310059CountR=CountR+Ri=i-1R= Close[i]/2294.689941CountR=CountR+Ri=i-1R= Close[i]/2297.419922CountR=CountR+Ri=i-1R= Close[i]/2316.100098CountR=CountR+Ri=i-1R= Close[i]/2351.159912CountR=CountR+Ri=i-1R= Close[i]/2367.340088CountR=CountR+Ri=i-1R= Close[i]/2383.120117CountR=CountR+Ri=i-1R= Close[i]/2372.600098CountR=CountR+Ri=i-1R= Close[i]/2378.25CountR=CountR+Ri=i-1R= Close[i]/2343.97998CountR=CountR+Ri=i-1R= Close[i]/2362.719971CountR=CountR+Ri=i-1R= Close[i]/2355.540039CountR=CountR+Ri=i-1R= Close[i]/2328.949951CountR=CountR+Ri=i-1R= Close[i]/2355.840088CountR=CountR+RBasePrice = CountR / 52FR = ((R / BasePrice) - 1) * 10CERO = 0SENYAL = FRRETURN CERO AS "CERO", SENYAL AS "F"02/28/2023 at 1:44 PM #21065602/28/2023 at 2:06 PM #21065902/28/2023 at 5:23 PM #21066403/01/2023 at 11:27 AM #210705Bonjour Nicolas,
On doit pouvoir créer une ligne type moyenne mobile à partir de ce code , on peut le faire avec un RSI ou une MACD alors pourquoi pas avec cette force relative ?
graphiquement cela ressemble beaucoup à une MACD, non ?
bonne journée
03/02/2023 at 8:38 AM #210742Le RSI est normalisé entre 0 et 100, si on considère une normalisation sur 14 périodes du prix, alors on peut transposer ces valeurs. Pour le MACD, on ne normalise pas puisque c’est la différence de 2 moyennes mobiles, donc ces infos sont déjà celles du prix. Ici, je ne vois pas comment faire pour adapter quelque chose de raisonnable dans un temps limité, désolé. Si tu as une idée pour m’aider, n’hésite pas.
03/02/2023 at 11:31 AM #210748Bonjour Nicolas,
J’ai fais ça, c’est peut-être un début ? la “courbe de suivi ” ne colle pas toujours aux prix mais cela reste indicatif malgré l’ à peu près.
Si tu peux peaufiner la chose alors ce serait top.
toujours pas de bouton pour entrer le code, désolé.
// MMA on chart Force Relative de Mansfield sur chart 01.03.203 by DID
REM Indicador realizado por Javier Alfayate REM administrador de Aguila Roja Sistemas de
REM trading y autor de accionesdebolsa.comdefparam calculateonlastbars = 150
CountR=0
i=51R= Close[i]/2065.300049
CountR=CountR+R
i=i-1R= Close[i]/2057.139893
CountR=CountR+R
i=i-1R= Close[i]/2046.609985
CountR=CountR+R
i=i-1R= Close[i]/2052.320068
CountR=CountR+R
i=i-1R= Close[i]/2099.060059
CountR=CountR+R
i=i-1R= Close[i]/2099.129883
CountR=CountR+R
i=i-1R= Close[i]/2096.070068
CountR=CountR+R
i=i-1R= Close[i]/2071.219971
CountR=CountR+R
i=i-1R= Close[i]/2037.410034
CountR=CountR+R
i=i-1R= Close[i]/2102.949951
CountR=CountR+R
i=i-1R= Close[i]/2129.899902
CountR=CountR+R
i=i-1R= Close[i]/2161.73999
CountR=CountR+R
i=i-1R= Close[i]/2175.030029
CountR=CountR+R
i=i-1R= Close[i]/2173.600098
CountR=CountR+R
i=i-1R= Close[i]/2182.870117
CountR=CountR+R
i=i-1R= Close[i]/2184.050049
CountR=CountR+R
i=i-1R= Close[i]/2183.870117
CountR=CountR+R
i=i-1R= Close[i]/2169.040039
CountR=CountR+R
i=i-1R= Close[i]/2179.97998
CountR=CountR+R
i=i-1R= Close[i]/2127.810059
CountR=CountR+R
i=i-1R= Close[i]/2139.159912
CountR=CountR+R
i=i-1R= Close[i]/2164.689941
CountR=CountR+R
i=i-1R= Close[i]/2168.27002
CountR=CountR+R
i=i-1R= Close[i]/2153.73999
CountR=CountR+R
i=i-1R= Close[i]/2132.97998
CountR=CountR+R
i=i-1R= Close[i]/2141.159912
CountR=CountR+R
i=i-1R= Close[i]/2126.409912
CountR=CountR+R
i=i-1R= Close[i]/2085.179932
CountR=CountR+R
i=i-1R= Close[i]/2164.449951
CountR=CountR+R
i=i-1R= Close[i]/2181.899902
CountR=CountR+R
i=i-1R= Close[i]/2213.350098
CountR=CountR+R
i=i-1R= Close[i]/2191.949951
CountR=CountR+R
i=i-1R= Close[i]/2259.530029
CountR=CountR+R
i=i-1R= Close[i]/2258.070068
CountR=CountR+R
i=i-1R= Close[i]/2263.790039
CountR=CountR+R
i=i-1R= Close[i]/2238.830078
CountR=CountR+R
i=i-1R= Close[i]/2276.97998
CountR=CountR+R
i=i-1R= Close[i]/2274.639893
CountR=CountR+R
i=i-1R= Close[i]/2271.310059
CountR=CountR+R
i=i-1R= Close[i]/2294.689941
CountR=CountR+R
i=i-1R= Close[i]/2297.419922
CountR=CountR+R
i=i-1R= Close[i]/2316.100098
CountR=CountR+R
i=i-1R= Close[i]/2351.159912
CountR=CountR+R
i=i-1R= Close[i]/2367.340088
CountR=CountR+R
i=i-1R= Close[i]/2383.120117
CountR=CountR+R
i=i-1R= Close[i]/2372.600098
CountR=CountR+R
i=i-1R= Close[i]/2378.25
CountR=CountR+R
i=i-1R= Close[i]/2343.97998
CountR=CountR+R
i=i-1R= Close[i]/2362.719971
CountR=CountR+R
i=i-1R= Close[i]/2355.540039
CountR=CountR+R
i=i-1R= Close[i]/2328.949951
CountR=CountR+R
i=i-1R= Close[i]/2355.840088
CountR=CountR+RBasePrice = CountR / 52
FR = ((R / BasePrice) – 1) * 10//CERO = 0
//SENYAL = FR
/////////////////////////////////////////////////////////////
cero = 0 + niveau
niveau = customclose
MMa = average [p] ( FR + close )
////////////////////////////////////////////////////////////RETURN MMA as ” Mansfield MA ” , customclose as “customclose” //CERO AS “CERO”, SENYAL AS “F”
03/05/2023 at 11:58 AM #210928Bonjour et bon dimanche,
Mansfield Relative Strength
Est-il possible de nous traduire ce bout de code en language PRT ?
En vous remerciant
RSD= ( close / close_index ) * 100
RSM = (( RSD(today) /sma(RSD(today), n)) – 1 ) * 100
Where:
- RSD = Dorsey Relative Strength
- SMA = Simple moving average over n days.
-
AuthorPosts
Find exclusive trading pro-tools on