Daivajna Vallabha · Attributed to Varahamihira
Chapter 14 · Miscellaneous Questions
प्रकीर्णाध्यायः
लग्नचन्द्रान्तरालसंख्यया फलपाककालो वाच्यः ।स्वस्वप्नान्तरे यं निरूप्यं पूर्वपूर्ववदित्येवं प्राह यवनेश्वरः ॥ २८ ॥
The time when the result ripens is told by the number of signs between the rising sign and the Moon. For one's own dream, judge it as before. So said Yavaneshvara (the Yavana king). (Our text is unclear here: the words about what is to be judged in one's own dream.)
Simple meaning: Count the signs from the rising sign to the Moon. That number shows when the result comes.
अकचटतपयशवर्गा रविकुजसितसौम्यजीवसौरीणाम् ।
Each planet has a group of letters. Look at the first letter spoken in the question.
ज्ञात्वा तस्माल्लग्नं संगृह्य शुभाशुभं वदेत्प्रष्टुः ।
If the first letter is 1st, 3rd or 5th in its group, the planet's odd sign rises.
राशिं लग्नं प्रवदेच्छेषैर्युग्मं सितज्ञजीवानाम् ।
Other letters give the planet's even sign. The Sun and Moon have one sign each, so this does not apply.