TWIGGS MONEY FLOW
Forums › ProRealTime foro Español › Soporte ProBuilder › TWIGGS MONEY FLOW
- This topic has 19 replies, 5 voices, and was last updated 7 years ago by SAcht.
-
-
01/01/2017 at 12:39 PM #19546
El indicdor Twiggs Money Flow fué creado por Collin Twiggs y es una variación del Chaikin Money flow Index.
Que yo sepa , no existe todavía una versión para la plataforma Prorealtime . Es por eso el motivo de esta adaptación de un código de la plataforma Tradingview : https://www.tradingview.com/script/Jccjg8CR-Indicators-Twiggs-Money-Flow-TMF-Wilder-s-MA-WiMA/
En esta versión , el tipo de media es configurable , donde podemos elegir entre simple, exponencial, de Wilder…
Agradecería que alguién me confirmara o verificase que la traducción del código para PRT es correcta.
123456789101112131415161718192021222324252627282930REM TWIGGS MONEY FLOW//adaptación del código de LazyBear en tradingview para PRT// parámetro t = tipo de media en cuadro de variableslenght=21hline=0trh=MAX(close[1],high)trl=MIN(close[1],low)trc=trh-trlif trc=0.9999999 thentrc=trcendifadv=VOLUME*((close-trl)-(trh-close))/trcwv=VOLUME+(VOLUME[1]*0)wmV=Average[lenght,t](wv)wmA=Average[lenght,t](adv)if wmV=0 thenwmV=0elsetmf=wmA/wmVendifRETURN tmf as "twiggs money flow",hline as "0",0.20 as "0.20",-0.20 as "-0.20"01/02/2017 at 6:52 PM #1964401/03/2017 at 9:46 AM #19667Al estar publicada la respuesta en italiano, he entendido que usted mismo publicará el indicador en la biblioteca.
O.K. GRACIAS, Nicolas.
01/03/2017 at 10:36 AM #1967601/03/2017 at 10:58 AM #19682Malentendido solucionado. Hecho Nicolas.
04/20/2017 at 8:33 PM #32811Dear all,
I really love this indicator, thank you very much for developing it! 🙂
When I build an automatic trading strategy, ProRealTime computes based on any conditions I determine based on this indicator.
However, when I try to build a ProScreener based on this Twiggs Money Flow (e.g. higher value than period before), ProRealTime does not compute and consequently does not come up with any stock, no matter which stock list I use.Do you have an idea why this is the case?
And, even more importantly, how to solve the issue and use this awesome indicator also in ProScreener?Thank you very much for any support!!
04/20/2017 at 9:56 PM #3281404/21/2017 at 5:31 PM #32900Hi GraHal,
Of course, I just thought that perhaps someone else already had the same issue 😉
I kept it very simple for now to limit potential sources of error:
indicator1, ignored, ignored, ignored = CALL “Twiggs Money Flow”[3]
c1 = (indicator1 CROSSES OVER 0)SCREENER[c1] (Variation AS “% Last Price Action”)
In this case, I used the build-in PRT assistance in order to define the condition.
The idea is to screen all stocks for those whose Twiggs Money Flow just crosses the mid level (0).However, no matter which list of stocks I choose, the screener never comes up with any results.
It almost seems as if PRT does not screen for the condition. When I implement the same function in ProBacktest, it seems to work, though.Any ideas very welcome!
04/21/2017 at 5:49 PM #32901>>Moderator mensaje: Por favor, se habla Español en el foro español, y Ingles en el foro inglese, muchas gracias<<
>>Moderator message: please let’s keep the forums tidy by speaking Spanish only on the Spanish forum and English in the English forum for future usage. Thank you. <<
Just in case, please keep in mind the cross over function would return only a result for the actual candle where the cross over happened, not for all candles after having crossed over… don’t know if that helps but it could explain rare or zero screening results, this confusion has happened before with other members, so my apologies if you knew that already but I had to mention it just in case…
Por favor tenga en cuenta que la función cross over devolverá sólo un resultado para la vela que está pasando la cruz, no para todas las velas después de haber cruzado … no sé si eso ayuda pero esta confusión ha ocurrido antes con otros miembros, mis disculpas si ya lo sabías, pero tuve que mencionarlo
04/21/2017 at 6:25 PM #3290304/21/2017 at 7:30 PM #32913Lo siento, mi español es un poco limitado.
Yo sé que la función cross over devolverá sólo un resultado para la vela que está pasando la cruz, pero normalmente siempre hay unas acciónes con este señal, porque Twiggs Money Flow oscila entre +0.20 y -0.20.
[3] relaciona al tipo de media en cuadro de variables (de Wilder), véase el artículo de bolsatrilera, por favor.
Eliminar (Variación AS “% Last Price Action”) solamente elimina la descripción del título en el la lista de acciónes…
Sin embargo, muchas grácias para tu ayuda! 🙂
1<span class="token comment" spellcheck="true"> </span>1 user thanked author for this post.
04/21/2017 at 10:22 PM #3291904/21/2017 at 10:53 PM #3292104/22/2017 at 8:20 AM #32932Esto es el código completo:
indicator1, ignored, ignored, ignored = CALL “Twiggs Money Flow”[3]
c1 = (indicator1 CROSSES OVER 0)SCREENER[c1] (Variation AS “% Last Price Action”)
El indicador Twiggs Money Flow (mencionado por bolsatrilera) contiene una función IF THEN.
Si copia mi código y el indicador, podéis ver y probar en PRT 🙂04/22/2017 at 10:44 AM #32938 -
AuthorPosts