Insider 3000 - Forums
Insider 3000 - Forums
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Help
 Aiuti, consigli, dubbi ...
 help per esploratore

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   
   

T O P I C    R E V I E W
Mozart Posted - 22 December 2004 : 20:54:51
Premessa:
ho realizzato i seguenti indicatori:

Il primo si chiama TrendPriceUp e mi indica il massimo storico a 21 giorni. Di seguito il codice:

Function Main()
Return Max(High, 21)
Endfunction

Il secondo l'ho chiamato DMIspread ed ? il risultato della differenza tra plus directional indicator (DI+) e minus directional indicatore (DI-) Di seguito il codice:

Function Main()
Return dirmov(13, "DIP") - Dirmov(13, "DIM")
Endfunction

Richiesta d'aiuto:
Io vorrei un esploratore che si allarmi quando sono verificate contemporaneamente le seguenti condizioni:

1) EMA13 ? maggiore di EMA34 nell'ultima candela del grafico

2) DMIspread ? maggiore di 15 il giorno (periodo) in cui si ? verificato il pi? recente breakout del massimo storico a 21 giorni (periodi)

Grazie in anticipo per l'aiuto.

Modificato da - Mozart il 23 Dicembre 2004 10:49:29
1   L A T E S T    R E P L I E S    (Newest First)
SupportoTecnico Posted - 23 December 2004 : 19:39:02

Un esempio di codice potrebbe essere:


function main()
Dim bSignal as Boolean

bSignal = false
if (CrossAbove(MoveAv(Close, 13, "E"), MoveAv(Close, 34, "E")) = True) then
if (Close > TrendPriceUp) then
if (DMIspread > 15) then
bSignal = true
endif
endif
endif

Return bSignal
endfunction


Insider 3000 - Forums © Copyright 2003-2016 Tradersoft s.r.l. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07